Fractals are shapes that are self-similar and are usually quite detailed. Well-known fractal sets include the Mandelbrot set, Julia sets, and Phoenix sets. Tree-like fractal drawings are also common.
10
votes
5answers
1k views
“Sorry, young man, but it's Turtles all the way down!”
Execute a Lindenmayer System
A Lindenmayer System (or L-system) is related to Thue and Post systems, and is used in botanical modeling and fractal generation.
Your task is to execute an L-system in ...
20
votes
25answers
3k views
Draw A Sierpinski Triangle
The Sierpinsky Triangle is a fractal created by taking a triangle, decreasing the height and width by 1/2, creating 3 copies of the resulting triangle, and place them such each triangle touches the ...
8
votes
9answers
770 views
Print a Cantor Set
The Challenge
Build a N-Leveled Cantor Set.
The Cantor ternary set is created by repeatedly deleting the open
middle thirds of a set of line segments.
The program receives one parameter N (a ...
17
votes
18answers
1k views
Generate a mandelbrot fractal?
Your task is to draw the mandelbrot set in ascii. It should look something like
The complex number 'C' lies in the mandelbrot set, when the function z = z^2 + c remains bounded, z starts at 0.
For ...
10
votes
2answers
1k views
Generate Newton fractals
You all know the Newton method to approximate the roots of a function, don't you? My goal in this task is to introduce you into an interesting aspect of this algorithm.
Newton's algorithm converges ...
17
votes
7answers
1k views
Koch Snowflake - codegolf
The Koch snowflake (also known as the Koch star and Koch island) is a mathematical curve and one of the earliest fractal curves to have been described. It is based on the Koch curve, which appeared in ...