View Full Version : Pattern Generator.
redanchor
February 18th, 2006, 12:37 PM
Hey guys. I recently spent a few days working on a system to create some interesting rotational fractal patterns. I've had so much fun toying around with this so far, I wanted to share it with you guys. Have fun and let me know what you think.
Pattern Generator (http://www.fidnet.com/~wmiller/patterns/)
A note of caution. This thing is pretty processor intensive, so users on slower computers are going to have to wait a few extra seconds for flash to render everything out. Thanks guys.
ApixDesigns
February 18th, 2006, 12:39 PM
thats pretty wicked man!!! nice job
theflash
February 18th, 2006, 01:17 PM
Good job... generating fractal is fun... calculating math equations too (sometimes)
redanchor
February 18th, 2006, 09:42 PM
Sweet. Thanks for the compliments. Going to add some more stuff to this eventually when I get the time again. The ability to create your own shapes to replicate would be nice, as woud being able to select from multiple color schemes, and possibly even some way of saving the users configurations and custom shapes. Adios.
SimplyArun
February 19th, 2006, 02:27 AM
wow man this is awesome - you must be one hellva mathmagician! lol
redanchor
February 19th, 2006, 07:22 AM
Not quite.
But thanks for checking it out, I'm really glad some people are digging this. It's definately stolen more than a few hours from time I should have been working on other things.
Adobemedia
February 19th, 2006, 08:08 AM
SweeT!
hybrid101
February 19th, 2006, 08:55 AM
nice! any chance of lowering the cpu intensitivity?
redanchor
February 19th, 2006, 09:26 AM
Not really without either eliminating the outlines on the shapes, which drastically quickens rendering, or setting the quality to low. I toyed with drawing each clip to the stage at a timed interval, but this resulted in it taking even longer, but only because of the outlines. Keeping the number of entities low is definately suggested for slower computers, and still has the tendancy to take a few.
Thanks again for the nice words.
:)
mlk
February 19th, 2006, 05:42 PM
isn't it possible now with flash 8 to 'dump' the flash shapes to a bitmap image?
redanchor
February 19th, 2006, 08:12 PM
Yeah, I've been considering using the bitmapData class, and plan on experimenting with it a bit here soon to see if it can help me out at all. Cheers.
redanchor
February 27th, 2006, 02:16 AM
Just a little update here, and a thing or two I've learned.
By setting cacheAsBitmap = true for each of my clips as they're drawn to the stage, I've found I get a pretty decent performance boost, but noticed that it's pretty easy to eat up the clients memory when you're recurrently generating a lot of bitmaps, so you have to make sure to use the dispose method to clear the old data out.
Peace.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.