mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Revert changes to BouncingBalls example.
This commit is contained in:
parent
9f1bf92ecd
commit
22abd41aac
1 changed files with 1 additions and 4 deletions
|
@ -45,8 +45,6 @@
|
|||
circlePath.fillColor.gradient.type = 'radial';
|
||||
|
||||
var symbol = new Symbol(circlePath);
|
||||
|
||||
|
||||
var group = new Group();
|
||||
|
||||
var Ball = Base.extend({
|
||||
|
@ -63,8 +61,7 @@
|
|||
this.radius = 50 * Math.random() + 10;
|
||||
this.item = new PlacedSymbol(symbol);
|
||||
this.item.position = point;
|
||||
this.item.rotate(30);
|
||||
this.item.scale(this.radius / 10, 0.6);
|
||||
this.item.scale(this.radius / 10);
|
||||
|
||||
group.appendTop(this.item);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue