Agile Coder Logo

AgileCoder

Fractals

Discover tutorials, case studies, and deep dives into the world of creative coding, fractals, and algorithms.

Uncovering the Cardiod: Beauty, Math & Code Header

Uncovering the Cardiod: Beauty, Math & Code

The cardioid is a unique and visually captivating mathematical shape, known for its heart-like form and presence in both nature and technology. From its intriguing mathematical structure to applications in art, sound engineering, and even planetary orbits, the cardioid offers a blend of aesthetic appeal and functional versatility.

Read More
Nephroid Header

Nephroid

In geometry, a nephroid (from Ancient Greek ὁ νεφρός (ho nephros) 'kidney-shaped') is a specific plane curve. It is a type of epicycloid in which the smaller circle's radius differs from the larger one by a factor of one-half.

Read More
Times Table Animation Header

Times Table Animation

This is the follow up of the Cardiod and Nephroid. This visualises what we get when we increase the factor from 2 to 200 and more. This creates really interesting patterns over the animation.

Read More
Mandelbrot Set Header

Mandelbrot Set

The Mandelbrot set is a mesmerizing fractal discovered by Benoît B. Mandelbrot in 1980. Defined through a simple iterative process in the complex plane, it showcases an intricate and infinitely detailed pattern. Points within the set remain bounded and are colored black, while those outside it escape to infinity and display vibrant colors. This self-replicating fractal reveals captivating shapes at all levels of magnification, making it a symbol of the exquisite beauty and complexity found in mathematics and nature. Its visual appeal has sparked artistic inspiration and a fascination with the endless wonders hidden within its depths.

Read More
Koch Curve Header

Koch Curve

The Koch curve, also known as the Koch snowflake curve, is a remarkable fractal that showcases the enchanting world of self-replicating patterns. It is derived from the Koch snowflake by considering only one of its sides. The construction process involves iteratively replacing each line segment with four smaller segments, forming a jagged, infinitely repeating curve. This process continually increases the curve's length while retaining its intricate self-similarity.

Read More
Koch Snowflake Header

Koch Snowflake

The Koch snowflake is a fascinating and iconic fractal pattern that showcases the beauty of self-similarity and infinite complexity. It is constructed by iteratively replacing each straight line segment of an equilateral triangle with smaller segments, forming a pattern that resembles a snowflake. Named after the Swedish mathematician Helge von Koch, this fractal exhibits an intricate, infinitely repeating geometric structure. Despite its simple initial shape, the Koch snowflake's boundary becomes increasingly jagged and intricate with each iteration, highlighting the remarkable nature of fractals in mathematics and the mesmerizing intricacy of nature's patterns.

Read More
Simple Fractal Tree Header

Simple Fractal Tree

A fractal tree is a captivating mathematical construct that exhibits self-replicating patterns on multiple scales, resembling the intricate branches of a tree in nature. The concept of a fractal tree is derived from fractals, which are complex geometric shapes with repeating patterns regardless of the level of magnification. Each branch of a fractal tree serves as the foundation for smaller branches, which, in turn, create even tinier branches, forming an infinitely detailed and visually stunning structure.

Read More
Julia Set Header

Julia Set

The Julia Set is a visually stunning fractal named after the French mathematician Gaston Julia. The Julia Set is generated by iterating a simple mathematical formula on each point in the complex plane, based on an initial parameter value known as C. The fractal structure emerges as the iteration progresses, determining whether each point tends to infinity or remains bounded within a certain threshold.

Read More
Sierpiensky Carpet Header

Sierpiensky Carpet

The Sierpiensky Carpet is constructed by iteratively dividing a square into nine smaller squares and removing the central one, then repeating the process on the remaining squares ad infinitum. The result is a stunning pattern resembling a woven carpet with intricate holes and voids at various scales. This mesmerizing fractal has captured the imagination of mathematicians and artists alike, highlighting the beauty and wonder of mathematics in nature and art.

Read More
Sierpiensky Triangle Header

Sierpiensky Triangle

The Sierpiński triangle, also called the Sierpiński gasket or Sierpiński sieve, is a fractal attractive fixed set with the overall shape of an equilateral triangle, subdivided recursively into smaller equilateral triangles. The Sierpiński triangle, also called the Sierpiński gasket or Sierpiński sieve, is a fractal attractive fixed set with the overall shape of an equilateral triangle, subdivided recursively into smaller equilateral triangles.

Read More
Toothpick Sequence Header

Toothpick Sequence

The toothpick sequence is a visually intriguing mathematical pattern that involves the repetitive addition of toothpicks following specific rules. Starting with a single horizontal toothpick, each step generates new toothpicks based on simple instructions. As the process iterates, the number of toothpicks grows exponentially, forming intricate and self-similar structures with fractal characteristics.

Read More
Ten Print Header

Ten Print

The pattern generated by the '10 PRINT' program is a mesmerizing and ever-changing maze-like design. It consists of diagonal lines that slant from the top-left corner to the bottom-right corner and vice versa, crisscrossing each other to form a visually intricate pattern

Read More