Conceptualizing Random Walk

jersmi's picture

I see this as a question about basics and best QC practices. As often happens, I start out with a question that seems simple then I get stuck how to just "throw it together". This time I thought I'd turn to this excellent forum with the thought that others might benefit, too.

One of my very favorite .qtz's is toneburst's random walk experiments with GLLookAt: http://kineme.net/Release/Beta/GLLookVeryCool

What I was thinking would be nice would be to have a collection of random walk scenarios and be able to apply them with more confidence across a few types of images, 2D, 3D, etc. As somewhat of a novice, I'm having trouble knowing where to start to get a grip on applying random walk as a concept.

As a point of departure, the basic question involves best practices for manipulating a basic 2D grid in QC. so there are two parts to this question: how to generate a grid (for this purpose), then how to implement random walk formulas (probably javascript like in toneburst's experiments?).

I know there is the dev comp example of the iterated sprite with the random patch with external time base used as a lookup table. I always liked this one and I have had fun manipulating the math to create patterns across the grid (though I have produced nothing that "stuck" with this one).

Is there another way to generate a grid of random colors in QC, e.g., could one do operations on the pixel level then fill the screen with the grid? can anyone recommend examples of this? I feel I'm thinking clumsily here...

Say to start with, for example, I want to make a small grid of random colors, like a 64w x 36h (i.e., 16:9 AR) grid. Then I want a random walk to move through the grid changing colors as it goes. What tools would one use to set this up, generate an initial grid of random colors, then manipulate the colors, re: best QC practices, etc.?

I thought this might be relevant: http://kineme.net/Discussion/General/Firstpersonshooter

and this: http://www.cosmolearning.com/video-lectures/computational-models-random-...