Spaces:
Sleeping
Sleeping
Update public/sketch.js
Browse files- public/sketch.js +3 -4
public/sketch.js
CHANGED
@@ -245,10 +245,9 @@ function draw() {
|
|
245 |
//to flip the image
|
246 |
scale(-1, 1);
|
247 |
}
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
pop()
|
252 |
}
|
253 |
}
|
254 |
|
|
|
245 |
//to flip the image
|
246 |
scale(-1, 1);
|
247 |
}
|
248 |
+
|
249 |
+
image(capture, (width/2)-capture.width, (height/2)-capture.height)
|
250 |
+
|
|
|
251 |
}
|
252 |
}
|
253 |
|