Update public/sketch.js
Browse files- public/sketch.js +3 -3
public/sketch.js
CHANGED
@@ -30,7 +30,8 @@ function preload(){
|
|
30 |
hf_tkn = arg[1];
|
31 |
console.log(space_uri)
|
32 |
grAPI = new GRAPI(space_uri, hf_tkn);
|
33 |
-
|
|
|
34 |
|
35 |
});
|
36 |
}
|
@@ -44,8 +45,7 @@ function setup() {
|
|
44 |
pixelDensity(1);
|
45 |
background('white');
|
46 |
|
47 |
-
|
48 |
-
AS = new AnimSys(12, 12, 30, 8);
|
49 |
|
50 |
for (let i = 0; i < AS.initial_frame_nb; i++) {
|
51 |
AS.create_new_frame();
|
|
|
30 |
hf_tkn = arg[1];
|
31 |
console.log(space_uri)
|
32 |
grAPI = new GRAPI(space_uri, hf_tkn);
|
33 |
+
Draws = new DrawHandler();
|
34 |
+
AS = new AnimSys(12, 12, 30, 8);
|
35 |
|
36 |
});
|
37 |
}
|
|
|
45 |
pixelDensity(1);
|
46 |
background('white');
|
47 |
|
48 |
+
|
|
|
49 |
|
50 |
for (let i = 0; i < AS.initial_frame_nb; i++) {
|
51 |
AS.create_new_frame();
|