mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -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 width, height, center;
|
||||||
var points = 10;
|
var points = 10;
|
||||||
var smooth = true;
|
var smooth = true;
|
||||||
var path = new Path();
|
var path = new Path({
|
||||||
|
fillColor: 'black'
|
||||||
|
});
|
||||||
var mousePos = view.center / 2;
|
var mousePos = view.center / 2;
|
||||||
var pathHeight = mousePos.y;
|
var pathHeight = mousePos.y;
|
||||||
path.fillColor = 'black';
|
|
||||||
initializePath();
|
initializePath();
|
||||||
|
|
||||||
function initializePath() {
|
function initializePath() {
|
||||||
|
|
Loading…
Reference in a new issue