Update public/sketch.js
Browse files- public/sketch.js +2 -2
public/sketch.js
CHANGED
@@ -29,7 +29,7 @@ function preload(){
|
|
29 |
space_uri = arg[0];
|
30 |
hf_tkn = arg[1];
|
31 |
console.log(space_uri)
|
32 |
-
|
33 |
|
34 |
//setTimeout(function(){
|
35 |
// for (let i = 0; i < AS.initial_frame_nb; i++) {
|
@@ -49,7 +49,7 @@ function setup() {
|
|
49 |
noLoop();
|
50 |
pixelDensity(1);
|
51 |
background('white');
|
52 |
-
|
53 |
Draws = new DrawHandler();
|
54 |
AS = new AnimSys(12, 12, 30, 8);
|
55 |
|
|
|
29 |
space_uri = arg[0];
|
30 |
hf_tkn = arg[1];
|
31 |
console.log(space_uri)
|
32 |
+
|
33 |
|
34 |
//setTimeout(function(){
|
35 |
// for (let i = 0; i < AS.initial_frame_nb; i++) {
|
|
|
49 |
noLoop();
|
50 |
pixelDensity(1);
|
51 |
background('white');
|
52 |
+
grAPI = new GRAPI(space_uri, hf_tkn);
|
53 |
Draws = new DrawHandler();
|
54 |
AS = new AnimSys(12, 12, 30, 8);
|
55 |
|