Forums > Jitter

randomizing position of a gl.videoplane

July 28, 2012 | 4:31 am

I’m trying to randomize the position of my videoplane in my jit window, but I’m trying to do it in a way that’s interesting, organic, something that doesn’t just look like it’s obviously random… which is basically what my attemps looks like now…

what I’m doing is rendering a videoplane that’s beeing fed various pictures taken in real time, and without erasing itself so that my screen just fills up with images continuously. the positions at wich the plane pops up every time has to be automated in some way, unpredictable yet still somehow harmonius, and that where i’m stuck. Algorithms are not my big strength, so I’m never quite sure how to go about creating them, I’m thinking maybe if I ask the community I’ll get some ideas to get me started in the right direction…

I’ve attached my very basic attempt (basically I did this as a placeholder to be hable to test the rest of the patch)

cheers!

Attachments:
  1. positionGen.maxpat

July 28, 2012 | 8:40 pm

try replacing the random with drunk.

try using a different random number generator for each axis.

try using a function to generate the number, and multiply it with a random number to get variance.

– Pasted Max Patch, click to expand. –

Viewing 2 posts - 1 through 2 (of 2 total)