fffiloni commited on
Commit
31d1877
1 Parent(s): 0d15daa

Update public/sketch.js

Browse files
Files changed (1) hide show
  1. 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
- push()
249
- //imageMode(CENTER);
250
- image(capture, 0, 0)
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