We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › milk
Page Index Toggle Pages: 1
milk (Read 637 times)
milk
Sep 3rd, 2006, 5:06am
 
http://rgov.org/img/milk/

This was an implementation of a marble algorithm I found online. I wondered what it would look like width edge detection (based off the built-in example) and it turned out pretty cool. So I whittled it down to the bare minimum to create the smooth effect.

If you give the applet focus and hit the left or right arrow keys, the number of octaves in the noise field will increase or decrease.

I've noticed that the motion seems to be sinusoidal, slowing down for a moment then speeding back up again. This undoubtedly has to do with the noise field, but I'm wondering if anything can be done so that it never appears to cease moving.
Page Index Toggle Pages: 1