mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Examples: move Smoothing example to Paperjs.org folder.
This commit is contained in:
parent
3db61a3509
commit
9260717bb8
1 changed files with 3 additions and 2 deletions
|
@ -9,10 +9,11 @@
|
|||
var width, height, center;
|
||||
var points = 10;
|
||||
var smooth = true;
|
||||
var path = new Path();
|
||||
var path = new Path({
|
||||
fillColor: 'black'
|
||||
});
|
||||
var mousePos = view.center / 2;
|
||||
var pathHeight = mousePos.y;
|
||||
path.fillColor = 'black';
|
||||
initializePath();
|
||||
|
||||
function initializePath() {
|
||||
|
|
Loading…
Reference in a new issue