designcoding
About Table of Contents Keywords Monthly Archive
Support designcoding!

Complex Numbers

October 6, 2012 | Algorithms
#complex-number #grasshopper

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 short history and meaning of complex numbers for geometry. My first try was the T(z) = z+k/z transformation of a simple square grid. This transformation is said to be studied for the aerodynamics of airfoils.

Complex Numbers animation

In this animation, I’m playing with the real number k and the initial square grid, and applying an equation to the complex number generated from x and y coordinates, then re-construct the square grid back again. Such transformations are called holomorphic transformations. From now on, complex number components are my friends. Things are becoming much easier with them.

Complex Numbers Grasshopper definition
Complex Numbers complex-number, grasshopper
Grasshopper definition (GHX)Download

Cite this post

Yazar, T. (2012, October 6). Complex Numbers. designcoding. Retrieved October 3, 2026, from https://www.designcoding.net/complex-numbers/

Related Posts

Mandelbrot Set

October 10, 2012

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…

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…

Tensile Fabric with Kangaroo

September 25, 2026

How much work we did last year for first-year architectural education! The tensile fabric study we carried out using Grasshopper Kangaroo in “Design Computing”, a first-year course I coordinated alongside my colleague Serkan Uysal, served as a baseline for the material research addressed in the Basic Design studio at that time. Such geometric optimizations in Kangaroo are no longer surprising or novel to anyone. However, experiencing these tools and possibilities in architectural education in the very first year offers a…

Generating Harmonic Motion

September 21, 2026

While trying to program the curves produced by Spirograph toys in Grasshopper, I took a slightly different path. The topic eventually led to a broader heading: harmonic motion, and from there, to the Fourier Series we looked at previously. This simple Python code models Fourier Synthesis, driven by circles of different radii in a very straightforward way. The Python component sets up a loop that calculates the effect of each circle to the x and y values, individually. In this…

Curvature Map on Terrains

September 17, 2026

This is the last of the site analysis tools we previously used in the midterm project of first-year architecture education. As you may recall, we previously introduced a tool that generates topographies based on specific parameters. Afterward, we examined two tools that perform slope and flow analyses on these topographies. Today, we are presenting a tool that analyzes curvature. This topic actually constitutes one of the interesting intersection points between architectural design and differential geometry. Curvature is not something architects…

  • Chapters

    • Algorithms
    • Discourses
    • Fabrications
    • Studios
  • Explore

    • All Keywords
    • Table of Contents
    • Monthly Archive
    • #rhino-python
    • #polyhedra
    • #design-education
    • #robot
    • #parametric-surface
    • #terrain
    • #tessellation
    • #kuka-prc
    • #curvature
    • #fourier
    • #computational-geometry
    • #visualization
    • #dual
    • #parakeet
    • #pattern
    • #simulation
    • #vector-field
    • #growth
    • #boolean
    • #sandblasting
  • 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