fffiloni commited on
Commit
5a4388e
·
1 Parent(s): d8c0b14

Update public/sketch.js

Browse files
Files changed (1) hide show
  1. public/sketch.js +6 -10
public/sketch.js CHANGED
@@ -43,23 +43,19 @@ function setup() {
43
  AS.create_new_frame();
44
  AS.display_frame(0);
45
  }
46
-
47
-
48
- Pencil = new BrushPoint('pencil', 0, 0);
49
- brushesPoints.push(Pencil);
50
-
51
-
52
  });
53
-
54
-
 
 
55
  canvas = createCanvas(512, 512);
56
  canvas.id('canvas');
57
  canvas.parent('canvas-ctn');
58
  noLoop();
59
  pixelDensity(1);
60
  background('white');
61
- Cursor = new OrientedCursor('canvas');
62
- Cursor.catchCursor();
63
  canvas.mousePressed(function(){
64
  Draws.startPath();
65
  });
 
43
  AS.create_new_frame();
44
  AS.display_frame(0);
45
  }
46
+
 
 
 
 
 
47
  });
48
+ Cursor = new OrientedCursor('canvas');
49
+ Cursor.catchCursor();
50
+ Pencil = new BrushPoint('pencil', 0, 0);
51
+ brushesPoints.push(Pencil);
52
  canvas = createCanvas(512, 512);
53
  canvas.id('canvas');
54
  canvas.parent('canvas-ctn');
55
  noLoop();
56
  pixelDensity(1);
57
  background('white');
58
+
 
59
  canvas.mousePressed(function(){
60
  Draws.startPath();
61
  });