fffiloni commited on
Commit
85ae5b0
·
1 Parent(s): c661a48

Update public/sketch.js

Browse files
Files changed (1) hide show
  1. 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
- for (let i = 0; i < AS.initial_frame_nb; i++) {
36
- AS.create_new_frame();
37
- //AS.display_frame(0);
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