mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Make PhyllotaxisRaster example work with new #matrix code.
This commit is contained in:
parent
597a59e90c
commit
f427f369a1
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@
|
||||||
group.position += delta;
|
group.position += delta;
|
||||||
// Rotate the group of paths by 1 degree:
|
// Rotate the group of paths by 1 degree:
|
||||||
group.rotate(1);
|
group.rotate(1);
|
||||||
|
group.apply();
|
||||||
// Rotate each path in the group by 2 degrees:
|
// Rotate each path in the group by 2 degrees:
|
||||||
for (var i = 0, l = group.children.length; i < l; i++) {
|
for (var i = 0, l = group.children.length; i < l; i++) {
|
||||||
group.children[i].rotate(2);
|
group.children[i].rotate(2);
|
||||||
|
|
Loading…
Reference in a new issue