designcoding
About Table of Contents Keywords Monthly Archive
Support designcoding!

Mandelbrot Set

October 10, 2012 | Algorithms
#chaos #complex-number #fractal #grasshopper

Today’s fractal is the famous Mandelbrot Set. The Mandelbrot set is a well-known and complex mathematical set often associated with fractals and chaos theory. Named after the mathematician Benoît B. Mandelbrot, it’s a set of complex numbers defined by a simple iterative process. The Mandelbrot set is an intricate and self-similar boundary, which reveals increasingly complex patterns at different magnifications. On the other hand, I heard the term “The fingerprint of God” in some sources resembling its aesthetic and philosophical essence. This Grasshopper definition is generating points of this set with a given escape value. It is fun to play with it. But be careful, if you increase the number of points too much, it may crash your computer.

Mandelbrot Set animation

This Grasshopper definition generates approximations of the Mandelbrot Set. I created the parametric model in Grasshopper with native components. Thus, no add-ons are necessary for it to work. There is one VB.net script that is responsible for the calculations. You can see it above. The output of the model is a set of points. You can use this model further to investigate this fascinating fractal. The inputs are the total number of random points (be careful while increasing this), the escape value, and the number of iterations.

Dim iter As Integer
Dim temp1 As Complex
Dim temp2 As Complex = New Complex(0.0, 0.0)
temp1 = new Complex(0.0, 0.0)
For iter = 0 To i
	temp2 = (temp1 * temp1) + C
	temp1 = temp2
Next
A = temp1
Mandelbrot Set Grasshopper definition
Mandelbrot Set chaos, complex-number
Grasshopper 1.0 definition (GH)Download
Grasshopper 1.0 definition (GH)Download

Cite this post

Yazar, T. (2012, October 10). Mandelbrot Set. designcoding. Retrieved November 26, 2026, from https://www.designcoding.net/mandelbrot-set/

Related Posts

Julia Set

October 10, 2012

Today’s fractal is the Julia Set, the amazing simplicity of chaos. There are lots of applets and articles on the internet about this fractal. You can generate this with the iteration of a basic function many times and placing points on the complex plane. I developed a Grasshopper implementation in 2012. Also, this was my first study on complex numbers. At each iteration, the detail level increases. I utilized a common brute-force approach, distributing a grid of points, converting them…

Lorenz Attractor with Grasshopper Python

November 26, 2026

In 1963, meteorologist and mathematician Edward Lorenz modelled the thermally driven motion of atmospheric air currents. He used the set of chaotic solutions to a system of nonlinear differential equations, called the Lorenz attractor. Known for its butterfly-wing geometry when plotted in three-dimensional space, it is one of the most famous examples of deterministic chaos. I finally managed to spend 3 hours from my life for this model, which had been sitting on my to-do list for a long time….

Complex Numbers

October 6, 2012

Studying circle packing led me back to my high school days. First, I’ve tried to write a vb.net component so that I would say Grasshopper to place circles and check lots of things iterating again and again. Then I felt that this was not my real interest in circle packing. After finding an old post by Daniel Piker,  I’m truly enlightened about an old topic of our high school education: The complex numbers! Then I found this link, explaining the…

Sierpinski Triangle

February 20, 2024

Today’s computational curve is the beautiful Sierpinski Triangle. It is a fractal named after the Polish mathematician Waclaw Sierpinski, who described it in 1915, though it had been previously described by other mathematicians. It is a self-replicating pattern that arises from a simple recursive process. To construct the fractal, you start with an equilateral triangle and then repeatedly remove smaller equilateral triangles from its interior, leaving holes. Each iteration involves dividing each triangle into four smaller triangles and removing the…

Dragon Curve Fractal

December 25, 2023

This week’s fractal is the famous Dragon Curve. Dragon Curve exhibits self-similarity, meaning parts of the curve resemble the overall shape, regardless of scale. It’s fascinating because a relatively simple construction process generates a complex and visually captivating fractal pattern. The Dragon Curve is often used to demonstrate fractal properties in mathematics and is popular in recreational mathematics due to its intricate and beautiful patterns. It has applications in computer graphics and is interesting in studying chaos theory, self-similarity, and…

  • Chapters

    • Algorithms
    • Discourses
    • Escapes
    • Fabrications
    • Studios
  • Explore

    • Table of Contents
    • Monthly Archive

    • All Keywords
    • #pattern
    • #rhino-python
    • #polyhedra
    • #interlocking
    • #kuka-prc
    • #robot
    • #parakeet
    • #sphere
    • #design-education
    • #attractor
    • #3d-printing
    • #polygon
    • #lace
    • #facade
    • #wave
    • #frege
    • #gauss
    • #voronoi
    • #laser-cutting
    • #fibonacci
  • Search

  • Support designcoding!

  • Enjoying designcoding? Support me on Patreon to keep it growing. Thank you!

  • copyright 2026 designcoding.net | about | privacy policy | end user license agreement