We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm totally new. I've been trying to figure things out on my own. but some help would be nice.
I'm using Shiffman's motion detection example 16-14. pretty much looking for a way to draw text when there is more than X amount of motion.
for now the circle just jumps in diameter according to the motion between frames. I'd like to write code that says:
if avgMotion is more or equal to X
any help would be greatly appreciated! thanks!
// Draw a circle based on average motion smooth(); noStroke(); fill(0); float r = avgMotion*8; ellipse(width/2,height/2,r,r);
thats the last few lines of the example.