git @ Cat's Eye Technologies HTML5-Gewgaws / 1cca83d
Except, they're proportional. Oops. Chris Pressey 11 years ago
2 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4141 shapes[i] = {};
4242 new_shape(i);
4343 }
44 this.animation = (new yoob.Animation()).init({ object: this });
44 this.animation = (new yoob.Animation()).init({
45 object: this,
46 mode: 'proportional'
47 });
4548 var $this = this;
4649 img.onload = function() {
4750 $this.animation.start();
3131 canvas = c;
3232 ctx = canvas.getContext('2d');
3333 counter = 1;
34 this.animation = (new yoob.Animation()).init({ object: this });
34 this.animation = (new yoob.Animation()).init({
35 object: this,
36 mode: 'proportional'
37 });
3538 this.animation.start();
3639 };
3740 }