fffiloni commited on
Commit
44904dc
·
1 Parent(s): 312b733

Update public/sketch.js

Browse files
Files changed (1) hide show
  1. public/sketch.js +5 -5
public/sketch.js CHANGED
@@ -47,10 +47,7 @@ function setup() {
47
 
48
 
49
 
50
- for (let i = 0; i < AS.initial_frame_nb; i++) {
51
- AS.create_new_frame();
52
- AS.display_frame(0);
53
- }
54
 
55
  canvas.mousePressed(function(){
56
  Draws.startPath();
@@ -67,7 +64,10 @@ function setup() {
67
  Pencil = new BrushPoint('pencil', 0, 0);
68
  brushesPoints.push(Pencil);
69
 
70
-
 
 
 
71
 
72
 
73
 
 
47
 
48
 
49
 
50
+
 
 
 
51
 
52
  canvas.mousePressed(function(){
53
  Draws.startPath();
 
64
  Pencil = new BrushPoint('pencil', 0, 0);
65
  brushesPoints.push(Pencil);
66
 
67
+ for (let i = 0; i < AS.initial_frame_nb; i++) {
68
+ AS.create_new_frame();
69
+ AS.display_frame(0);
70
+ }
71
 
72
 
73