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 › Menger's Sponge
Page Index Toggle Pages: 1
Menger's Sponge (Read 1029 times)
Menger's Sponge
Mar 18th, 2010, 12:06am
 

Hello!

I did it!

I built a Menger's Sponge!
It's a recursive function; decrease depth with - and increase depth with plus. With depth 3 or more it gets really slow...

http://openprocessing.org/visuals/?visualID=8326

For Explanation see:
http://www.angelfire.com/art2/stw/


Greetings,

Chrisir     Smiley
Re: Menger's Sponge
Reply #1 - Mar 18th, 2010, 2:30am
 
If you dig out the processing archive you will find it has been done before by Tom Carden etal. It looks a bit better if you can color the faces differently, and use OPENGL (not an option on open processing).
Here's a link to my effort http://martinpblogformasswritingproject.blogspot.com/2009/10/menger.html
Re: Menger's Sponge
Reply #2 - Mar 18th, 2010, 3:30am
 



good Work!


Re: Menger's Sponge
Reply #3 - Mar 25th, 2010, 9:53am
 
Nice one! Cool
Page Index Toggle Pages: 1