mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Move examples which are featured on paperjs.org website to Paperjs.org folder.
This commit is contained in:
parent
1346b7d4c0
commit
b124d23078
8 changed files with 3 additions and 2 deletions
|
@ -46,10 +46,11 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
function createPath(strength) {
|
function createPath(strength) {
|
||||||
var path = new Path();
|
var path = new Path({
|
||||||
|
fillColor: 'black'
|
||||||
|
});
|
||||||
path.data = {};
|
path.data = {};
|
||||||
path.data.springs = [];
|
path.data.springs = [];
|
||||||
path.fillColor = 'black';
|
|
||||||
segments = path.segments;
|
segments = path.segments;
|
||||||
var previous;
|
var previous;
|
||||||
for (var i = 0; i <= values.amount; i++) {
|
for (var i = 0; i <= values.amount; i++) {
|
Loading…
Reference in a new issue