Why is toDataURL() returning blank image? (with p5 video)

I'm using p5 to display a video with the webcam and send a picture of it when the user clicks a button (along with lat & lon cords). For some reason though, toDataURL() always returns a blank image. Here's what I have: function setup() {

Continue reading →