Explore algorithmic aesthetics by using iterative functions to create mathematical art.
Quarto
R
Author
Matt Babb
Published
June 7, 2025
Code Choices (Exhibit 1)
To create this vortex, I wrote a function called make_petal() that places 150 petals in a circular pattern using trigonometry. I adjusted the inner and outer radius and the petal width, which allowed me to shape the form and density of the design. I used the “FantasticFox1” palette (I’m a big WA fan) and applied a mirrored gradient to give the piece a warm-to-cool symmetry. I also softened the borders with a faint black outline for a more smooth and delicate effect.
The animated version uses the same base pattern but rotates it over 500 frames, creating a slow, mesmerizing spin. I created the GIF using gifski_renderer() and embedded it into the document to keep the rendering process efficient.