I. Randomness
II. Recursion
III. Repetition
IV. Realism
I. Randomness


"Creativity is the ability to introduce order into the randomness of nature."
– Eric Hoffer


The walker's color varies randomly per step.

The walker only has a 25% chance of randomizing its direction each step, and is drawn at a lower opacity.

The walker gets a random hue every regeneration, and its brightness varies randomly per step.

The walker only moves diagonally, and is drawn at a lower opacity over a black background.

Advanced Examples of Randomness:
II. Recursion


"To understand recursion, one must first understand recursion."
– Unknown




The tree has a random hue each generation, and the lines get progressively thinner and darker every layer.

After each split, the new left branch's hue gets lower and the new right branch's hue gets higher.

The angle between new branches is randomized every reset. Current branch angle: °.

Advanced Examples of Recursion:
III. Repetition


"A creation is never merely repetition."
– Bruce Lee, clearly having never heard of generative art


Multiple concentric circles are drawn in each spot, at increasing or decreasing brightness.

Expressive smiley faces are drawn on top of each circle.

Each circle is drawn 50% larger than the original size, along with being drawn at a lower opacity with an outline.

Advanced Examples of Repetition:
IV. Realism


"Reality is merely an illusion, albeit a very persistent one."
– Albert Einstein, allegedly


The seeds are drawn larger so they overlap underneath each other, and are given a random hue every regeneration.

Seeds are drawn larger and darker the further from the center they are.

The seeds are drawn as overlapping yellow triangles instead of circles, which more closely resembles the actual sunflower seed pattern.

Advanced Examples of Realism:
"[Generative art] becomes a collaboration between the computer and the artist. Some aspects of the artwork are controlled by the coder, but not all of them. The artist controls both the randomness and the order in the art."
– Ali Spittel