mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -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';
|
circlePath.fillColor.gradient.type = 'radial';
|
||||||
|
|
||||||
var symbol = new Symbol(circlePath);
|
var symbol = new Symbol(circlePath);
|
||||||
|
|
||||||
|
|
||||||
var group = new Group();
|
var group = new Group();
|
||||||
|
|
||||||
var Ball = Base.extend({
|
var Ball = Base.extend({
|
||||||
|
@ -63,8 +61,7 @@
|
||||||
this.radius = 50 * Math.random() + 10;
|
this.radius = 50 * Math.random() + 10;
|
||||||
this.item = new PlacedSymbol(symbol);
|
this.item = new PlacedSymbol(symbol);
|
||||||
this.item.position = point;
|
this.item.position = point;
|
||||||
this.item.rotate(30);
|
this.item.scale(this.radius / 10);
|
||||||
this.item.scale(this.radius / 10, 0.6);
|
|
||||||
|
|
||||||
group.appendTop(this.item);
|
group.appendTop(this.item);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue