Spaces:
Runtime error
Runtime error
Update public/sketch.js
Browse files- public/sketch.js +1 -0
public/sketch.js
CHANGED
@@ -245,6 +245,7 @@ function draw() {
|
|
245 |
//to flip the image
|
246 |
scale(-1, 1);
|
247 |
}
|
|
|
248 |
image(capture, 0, 0)
|
249 |
}
|
250 |
}
|
|
|
245 |
//to flip the image
|
246 |
scale(-1, 1);
|
247 |
}
|
248 |
+
imageMode(CENTER);
|
249 |
image(capture, 0, 0)
|
250 |
}
|
251 |
}
|