Update public/sketch.js
Browse files- public/sketch.js +7 -4
public/sketch.js
CHANGED
@@ -32,10 +32,13 @@ function preload(){
|
|
32 |
grAPI = new GRAPI(space_uri, hf_tkn);
|
33 |
Draws = new DrawHandler();
|
34 |
AS = new AnimSys(12, 12, 30, 8);
|
35 |
-
|
36 |
-
AS.
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
39 |
});
|
40 |
}
|
41 |
|
|
|
32 |
grAPI = new GRAPI(space_uri, hf_tkn);
|
33 |
Draws = new DrawHandler();
|
34 |
AS = new AnimSys(12, 12, 30, 8);
|
35 |
+
setTimeout(function(){
|
36 |
+
for (let i = 0; i < AS.initial_frame_nb; i++) {
|
37 |
+
AS.create_new_frame();
|
38 |
+
AS.display_frame(0);
|
39 |
+
}
|
40 |
+
}, 1000)
|
41 |
+
|
42 |
});
|
43 |
}
|
44 |
|