MCPcopy Create free account
hub / github.com/PyQt5/PyQt / shiftPoint

Function shiftPoint

QPropertyAnimation/Data/html/js/demo-1.js:141–147  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

139 }
140
141 function shiftPoint(p) {
142 TweenLite.to(p, 1+1*Math.random(), {x:p.originX-50+Math.random()*100,
143 y: p.originY-50+Math.random()*100, ease:Circ.easeInOut,
144 onComplete: function() {
145 shiftPoint(p);
146 }});
147 }
148
149 // Canvas manipulation
150 function drawLines(p) {

Callers 1

initAnimationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected