Except, they're proportional. Oops.
Chris Pressey
11 years ago
41 | 41 | shapes[i] = {}; |
42 | 42 | new_shape(i); |
43 | 43 | } |
44 | this.animation = (new yoob.Animation()).init({ object: this }); | |
44 | this.animation = (new yoob.Animation()).init({ | |
45 | object: this, | |
46 | mode: 'proportional' | |
47 | }); | |
45 | 48 | var $this = this; |
46 | 49 | img.onload = function() { |
47 | 50 | $this.animation.start(); |