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 definition (GH)Download
Grasshopper definition (GH)Download

Cite this post

Yazar, T. (2012, October 10). Mandelbrot Set. designcoding. Retrieved September 3, 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…

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…

Cesaro Fractal

December 19, 2023

In this study, I explore Cesaro Fractal, generated by Grasshopper. Usually, it is not possible to code recursive algorithms in Grasshopper. With the help of the Anemone add-on, these fractal curves are easy to model. I studied similar fractal algorithms here before. This one is very similar to the Koch’s snowflake. The only difference (as far as I understood) is the side of the spikes. Koch’s Snowflake generates triangular spikes pointing to the outside of the polygon. Cesaro Fractal does…

  • Chapters

    • Algorithms
    • Discourses
    • Fabrications
    • Studios
  • Explore

    • All Keywords
    • Table of Contents
    • Monthly Archive
    • #polyhedra
    • #rhino-python
    • #rhinoceros
    • #tutorial
    • #robot
    • #boolean
    • #parametric-surface
    • #kuka-prc
    • #tessellation
    • #design-object
    • #image-sampler
    • #frege
    • #growth
    • #logic
    • #philosophy-of-language
    • #terrain
    • #sandblasting
    • #stone
    • #dome
    • #parametric-curve
  • 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