Here's an example of the Koch snowflake made in this program:
There are several variables to change in this program to generate many different fractals:
- (mousewheel) Angle: The angle of the shape that extends off of each line
(q/a) angle1: a multiplier for the left angle when you have extra line toggled on
(w/s) angle2: a multiplier for the right angle when you have extra line toggled on
(e/d) (r/f) remove %: a fraction how much of each line is removed, essentially the size of each shape added on. One set of controls is to change the numerator, the other is to change the denominator (exact fractions are important here)
(y/h) radius: size of the original shape
(g) clean lines: removes extra lines with each iteration
(t) extra line: with this off, a triangle is added to each line. With this on, a quadrilateral is added to each line. Angle1 and angle2 are only relevant when this is on
- (backspace) reset
(f1) fullscreen
(f2) reset values to default
(f3) hide help text
(f4) hide preview
(space) iterate - go to the next step
(3-9) press a number to set the number of sides
Note: It's limited to 5 iterations because I found that after that it tends to lose any noticeable detail, and going past 5 generally results in long freezes or crashes. Also, it requires use of a canvas to improve performance.
Here are some other examples of fractals you can make:
This was made over the course of the last 48 hours. I have been using LÖVE for a few years, and I found this something fun to play around with. I hope you might find it cool.