PDA

View Full Version : Perlin Meets Langton



Tesseract
October 29th, 2008, 10:52 AM
Hi everyone

I just completed an experiment which turned out to be much cooler than I expected, so I am sharing it! Basically, a thousand "ants" are wandering around a perlin noise landscape. If they move from lighter to darker pixels they turn counter-clockwise. If they move from darker to lighter pixels, they turn clockwise.

You can see them here (http://www.eccesignum.org/experiment/perlin-ants). Source will be posted later today.

pwdVergesser
October 29th, 2008, 11:10 AM
Hi everyone

I just completed an experiment which turned out to be much cooler than I expected, so I am sharing it! Basically, a thousand "ants" are wandering around a perlin noise landscape. If they move from lighter to darker pixels they turn counter-clockwise. If they move from darker to lighter pixels, they turn clockwise.

You can see them here (http://www.eccesignum.org/experiment/perlin-ants). Source will be posted later today.

nice one - i think it won´t do any harm to animate the perlinNoise, so the ants could move a lot more randomly...

Tesseract
October 29th, 2008, 11:16 AM
That may happen eventually. I will need to figure out how much of a hit it will be on the processor.

pwdVergesser
October 29th, 2008, 11:18 AM
if you keep it typesave and optimized, and maybe work with 4x4scaled bitmapData´s (for example) this won´t be too heavy on the processor.

Dom_
October 29th, 2008, 06:28 PM
very nice!

Sage_of_Fire
October 29th, 2008, 06:32 PM
Very slick; reminds me of some sort of fluid dynamics simulation.

Tesseract
October 29th, 2008, 11:14 PM
Here, as promised, is the source for the experiment, attached to this post. Two actionscript files, Main.as and Worm.as. Enjoy!

Iamthejuggler
October 30th, 2008, 06:34 AM
Wow. That looks great. Thanks for sharing. About the animated perlin noise idea, it is a nice idea, but the ants are pretty slow to react to the changes, so it would probably just end up as a mass of chaos! Then again if it worked it would look fantastic.

brianmanden
October 30th, 2008, 09:11 AM
Very interesting effect .. thnx for sharing !! :thumb: