FractalDesigner
FractalDesigner2.0 Better U.I. (instead of all the ask boxes, sliders are shown)
This project creates fractals of all shapes and sizes, but, unlike all the others, you can invent your OWN fractal! There are 3 simple commands; turn, move, and recurse. They all take one input, and are pretty self-explanatory, except for recurse. Recurse is where recursion comes in! The input for the recurse command is the number which determines the size for the next iteration.
Oh, yeah, and once you've entered in all the variables, press space for it to start drawing.
For example, a Serpinski triangle:
move size;turn -120;recurse 2;move size;turn -120;recurse 2;move size;turn -120;recurse 2;
And, a snowflake one:
turn 120;move size;recurse 3;turn -60;move size;turn 120;move size;recurse 3;turn -60;move size;turn 120;move size;recurse 3;turn -60;move size;turn 120;move size;recurse 3;turn -60;move size;turn 120;move size;recurse 3;turn -60;move size;turn 120;move size;recurse 3;turn -60;move size;
And this makes a cool tree. Who ever said that fractals had to be symetrical?
move size;turn -15;recurse 1.3333333333;turn 35;recurse 1.6666666666;turn -200;move size;turn 180;
Comming Soon:
1. More parameters for recursion (variables passed down through the 'recurse' command)
2. Calculations (e.g. 'move size * 2')
3. Conditional statements
Wow, this is going to turn into a real programming language!
Last edited by rubiks_cube_guy238 (2011-02-09 07:07:42)
Offline
One of my best projects. And, does it get any attention? No, of course not. Bump!
Offline
shove
Offline