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.

learn more… | top users | synonyms

1
vote
1answer
291 views

Draw a Fractal in Under 200 Characters [closed]

After noticing all the fractal submissions/questions, I thought it would be fun to start a contest where everyone submits their favourite fractal. The Contest Generate a fractal in under 200 ...
14
votes
8answers
787 views

Sierpinski Layers

Starting with /\ you can create a Sierpinski triangle like pattern by adding a line beneath such that... Any loose branch / or \ splits again into two branches: /\. Any collision of branches \/ dies ...
22
votes
4answers
865 views

Draw an Apollonian Gasket

Given three mutually tangent circles, we can always find two more circles which are tangent to all three of those. These two are called Apollonian circles. Note that one of the Apollonian circles ...
19
votes
11answers
3k views

Play the Chaos Game

The Chaos Game is a simple method to generate fractals. Given a starting point, a length ratio r and a set of 2D points, repeatedly do the following: From your set of points, pick one at random ...
27
votes
5answers
2k views

Draw the Hilbert curve using slashes

The Hilbert curve is a space filling fractal that can be represented as a Lindenmayer system with successive generations that look like this: Thanks to ...
12
votes
7answers
901 views

Create a fractal tree

What I would like to see is a fractal tree being drawn where the you can input an integer, and the output will be a fractal tree with the entered amount of branch steps. Rules: The fractal should ...
3
votes
2answers
215 views

Build the blancmange function

The blancmange function is used as an example in basic calculus of a function that is continuous everywhere, but differentiable nowhere. It achieves this effect by using the sums of ever-diminishing ...
18
votes
5answers
3k 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. An L-system is described by ...
26
votes
26answers
5k 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 ...
10
votes
9answers
1k 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 ...
30
votes
22answers
3k 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 ...
13
votes
2answers
2k 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 ...
18
votes
7answers
2k 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 ...