(p)
| 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) { |