Sunday, May 18, 2008

Line Gardens

This is just a quick proto-type of what Im playing with this past week. I have been busy and haven had a chance to make a post in awhile so here it is. Randomly draws lines recursively along right angles. Lines always start at the bottom edge and create a gradient effect.

Eventually, the goal was to make a sort of maze generator with this. As usual though, this quick, first-step draft of the idea made some unexpectedly cool results.


131 Recursions, maxLength 100, maxAge 1000;


1,805 Recursions, maxLength 100, maxAge 1000;


6,771 Recursions, maxLength 100, maxAge 1000;


1,011 Recursions, maxLength 10, maxAge 1000


21,701 Recursions, maxLength 10, maxAge1000


42,897 Recursions, maxLength 10, maxAge 100


2 comments:

Paul Christiano said...

I really like the way they show up in the post, but the full size images are rather ugly in my browser. I'm not sure exactly what it is (I expect the ratio of pixel size to line width), but if there were desktop-size images that looked like the ones in the post I would probably use them.

Preston said...

Thanks Paul.

The full size images linked to are 1280 X 800 resolution. They work well for most widescreen desktops. Your browser is probably resizing the image (as it is too large to display in most browsers) They will look horrible when resized as you said due to the fine detail getting cut down in awkward ways. Try saving the full size image to your computer then viewing it there.