Applied Metaphors: Learning TRIZ, Complexity, Data/Stats/ML using Metaphors
  1. Teaching
  2. Math Models for Creative Coders
  3. Geometry
  4. Fractals
  • Teaching
    • Data Analytics for Managers and Creators
      • Tools
        • Introduction to R and RStudio
        • Introduction to Radiant
        • Introduction to Orange
      • Descriptive Analytics
        • Data
        • Summaries
        • Counts
        • Quantities
        • Groups
        • Densities
        • Groups and Densities
        • Change
        • Proportions
        • Parts of a Whole
        • Evolution and Flow
        • Ratings and Rankings
        • Surveys
        • Time
        • Space
        • Networks
        • Experiments
        • Miscellaneous Graphing Tools, and References
      • Statistical Inference
        • 🧭 Basics of Statistical Inference
        • 🎲 Samples, Populations, Statistics and Inference
        • Basics of Randomization Tests
        • 🃏 Inference for a Single Mean
        • 🃏 Inference for Two Independent Means
        • 🃏 Inference for Comparing Two Paired Means
        • Comparing Multiple Means with ANOVA
        • Inference for Correlation
        • 🃏 Testing a Single Proportion
        • 🃏 Inference Test for Two Proportions
      • Inferential Modelling
        • Modelling with Linear Regression
        • Modelling with Logistic Regression
        • 🕔 Modelling and Predicting Time Series
      • Predictive Modelling
        • 🐉 Intro to Orange
        • ML - Regression
        • ML - Classification
        • ML - Clustering
      • Prescriptive Modelling
        • 📐 Intro to Linear Programming
        • 💭 The Simplex Method - Intuitively
        • 📅 The Simplex Method - In Excel
      • Workflow
        • Facing the Abyss
        • I Publish, therefore I Am
      • Case Studies
        • Demo:Product Packaging and Elderly People
        • Ikea Furniture
        • Movie Profits
        • Gender at the Work Place
        • Heptathlon
        • School Scores
        • Children's Games
        • Valentine’s Day Spending
        • Women Live Longer?
        • Hearing Loss in Children
        • California Transit Payments
        • Seaweed Nutrients
        • Coffee Flavours
        • Legionnaire’s Disease in the USA
        • Antarctic Sea ice
        • William Farr's Observations on Cholera in London
    • R for Artists and Managers
      • 🕶 Lab-1: Science, Human Experience, Experiments, and Data
      • Lab-2: Down the R-abbit Hole…
      • Lab-3: Drink Me!
      • Lab-4: I say what I mean and I mean what I say
      • Lab-5: Twas brillig, and the slithy toves…
      • Lab-6: These Roses have been Painted !!
      • Lab-7: The Lobster Quadrille
      • Lab-8: Did you ever see such a thing as a drawing of a muchness?
      • Lab-9: If you please sir…which way to the Secret Garden?
      • Lab-10: An Invitation from the Queen…to play Croquet
      • Lab-11: The Queen of Hearts, She Made some Tarts
      • Lab-12: Time is a Him!!
      • Iteration: Learning to purrr
      • Lab-13: Old Tortoise Taught Us
      • Lab-14: You’re are Nothing but a Pack of Cards!!
    • ML for Artists and Managers
      • 🐉 Intro to Orange
      • ML - Regression
      • ML - Classification
      • ML - Clustering
      • 🕔 Modelling Time Series
    • TRIZ for Problem Solvers
      • I am Water
      • I am What I yam
      • Birds of Different Feathers
      • I Connect therefore I am
      • I Think, Therefore I am
      • The Art of Parallel Thinking
      • A Year of Metaphoric Thinking
      • TRIZ - Problems and Contradictions
      • TRIZ - The Unreasonable Effectiveness of Available Resources
      • TRIZ - The Ideal Final Result
      • TRIZ - A Contradictory Language
      • TRIZ - The Contradiction Matrix Workflow
      • TRIZ - The Laws of Evolution
      • TRIZ - Substance Field Analysis, and ARIZ
    • Math Models for Creative Coders
      • Maths Basics
        • Vectors
        • Matrix Algebra Whirlwind Tour
        • content/courses/MathModelsDesign/Modules/05-Maths/70-MultiDimensionGeometry/index.qmd
      • Tech
        • Tools and Installation
        • Adding Libraries to p5.js
        • Using Constructor Objects in p5.js
      • Geometry
        • Circles
        • Complex Numbers
        • Fractals
        • Affine Transformation Fractals
        • L-Systems
        • Kolams and Lusona
      • Media
        • Fourier Series
        • Additive Sound Synthesis
        • Making Noise Predictably
        • The Karplus-Strong Guitar Algorithm
      • AI
        • Working with Neural Nets
        • The Perceptron
        • The Multilayer Perceptron
        • MLPs and Backpropagation
        • Gradient Descent
      • Projects
        • Projects
    • Data Science with No Code
      • Data
      • Orange
      • Summaries
      • Counts
      • Quantity
      • 🕶 Happy Data are all Alike
      • Groups
      • Change
      • Rhythm
      • Proportions
      • Flow
      • Structure
      • Ranking
      • Space
      • Time
      • Networks
      • Surveys
      • Experiments
    • Tech for Creative Education
      • 🧭 Using Idyll
      • 🧭 Using Apparatus
      • 🧭 Using g9.js
    • Literary Jukebox: In Short, the World
      • Italy - Dino Buzzati
      • France - Guy de Maupassant
      • Japan - Hisaye Yamamoto
      • Peru - Ventura Garcia Calderon
      • Russia - Maxim Gorky
      • Egypt - Alifa Rifaat
      • Brazil - Clarice Lispector
      • England - V S Pritchett
      • Russia - Ivan Bunin
      • Czechia - Milan Kundera
      • Sweden - Lars Gustaffsson
      • Canada - John Cheever
      • Ireland - William Trevor
      • USA - Raymond Carver
      • Italy - Primo Levi
      • India - Ruth Prawer Jhabvala
      • USA - Carson McCullers
      • Zimbabwe - Petina Gappah
      • India - Bharati Mukherjee
      • USA - Lucia Berlin
      • USA - Grace Paley
      • England - Angela Carter
      • USA - Kurt Vonnegut
      • Spain-Merce Rodoreda
      • Israel - Ruth Calderon
      • Israel - Etgar Keret
  • Posts
  • Blogs and Talks

On this page

  • Inspiration: A Geometric Jewellery Store
  • An Introduction to Fractals
    • Julia, and Julia, and still more Julia….
  • Designing with Julia/Mandelbrot fractals
    • Jewellery Shopping with Mandelbrot
  • Fractals with Code
  • Wait, But Why?
  • References
  1. Teaching
  2. Math Models for Creative Coders
  3. Geometry
  4. Fractals

Fractals

Iterated Functions
Fractals
Mandelbrot
Julia
Published

May 2, 2024

Modified

May 17, 2025

Abstract
A Geometric Jewellery Store

What is in us that must reach the top, that longs to look down upon the world as if a god?
Don’t we know that in this infinite space the same rocks at the seashore know the secret of each peak?

Underneath the surface are caverns, caves soaring cathedrals the earth has made.
What arias does she sing to dripping water, bats and other seekers of wisdom?
What prayers echo while the ceilings reach slowly to the floor?

The open window houses everything:
a cat lounging in the sunlight, the call of neighbors, the breath of possibility.

- Robin Walthery Allen

Inspiration: A Geometric Jewellery Store

Photo by Mykola/Kolya Korzh on Unsplash

Photo by Mykola/Kolya Korzh on Unsplash

Explore some jewels here: https://math.hws.edu/eck/js/mandelbrot/MB.html

An Introduction to Fractals

Let us listen to the late great Benoit Mandelbrot, on the Art of Roughness.

Julia, and Julia, and still more Julia….

Let us head off to https://mathigon.org/course/fractals/mandelbrot and play with some iterated functions in the Complex Plane. This will lead us into an intuitive understanding of Julia and Mandelbrot Fractals.

Now we are ready(?) to understand this video on Julia fractals!

Designing with Julia/Mandelbrot fractals

Let us play with this interactive Mandelbrot-Julia combination diagram!

  1. We now that the Mandelbrot fractal uses the Iterated Function z← z2+C, where C is a starting complex constant.
  2. The Mandelbrot (at left) is plotted in a coordinate space for C.
  3. The Julia(s) (at right) are plotted in a coordinate space for z.
  4. Depending upon the starting value of C in the Mandelbrot we get a different choice of Julia fractal in the right side diagram.
  5. In this “single-colour” Mandelbrot, we see that for those values of C where the corresponding Julia is connected, the C point is coloured black in the Mandelbrot. Else it is coloured white and appears to be “outside”.
  6. Place your cursor inside the Julia diagram. A connected Julia always shows an iterative trace that lies within itself. A dis-connected Julia has points going off to infinity…
  7. Varying C we see a systematic variation of the attainable Julia fractals.

Jewellery Shopping with Mandelbrot

Ever gone shopping for jewellery? How is the place organized? That is a good metaphor for how Mandelbrot Set is generated!! Here is an image to complete the Jewellery Store metaphor:

Figure 1: Mandelbrot and Julia Mapping

Fractals with Code

  • Using p5.js
  • Using XaOS

And here is the Julia set:

See also this sketch for a static Julia, set by a user choice of C. https://editor.p5js.org/AhmadMoussa/full/nDrd9EfHr

Let us use the XaOS software to make different kinds of fractals. A sample screen to explore the Mandelbrot fractal is here:

Wait, But Why?

  • Fractal shapes are all around us in nature
  • These mathematically created fractal shapes can have uses that are limited only by your imagination: want to design footwear that does not slip?
  • Different parts of the Mandelbrot fractal allow us to contemplate a variety of fractal shapes
  • And if we choose a different IFS function (rather than z→z2+C), we can think of entire families of shapes!

References

  1. An Intrepid Tour of the Complex Fractal World using Dark Heart Package 2.2.0 for Mac. https://dhushara.com/DarkHeart/#Anchor-Introduction-35326
  2. Gary William Flake.(28 August 1988) The Computational Beauty of Nature. ISBN: 978-0262062008. MIT Press.
  3. Batty, M. and Longley, P. A. (1994) Fractal Cities: A Geometry of Form and Function, London: Academic Press, 1994.
  4. Wang H, Luo S, Luo T. Fractal characteristics of urban surface transit and road networks: Case study of Strasbourg, France. Advances in Mechanical Engineering. 2017;9(2). doi:10.1177/1687814017692289
  5. Larry Riddle.Classic Iterated Function Systems. https://larryriddle.agnesscott.org/ifs/ifs.htm
  6. Turtle Graphics in R: https://cran.r-project.org/web/packages/TurtleGraphics/vignettes/TurtleGraphics.pdf
  7. https://www.reddit.com/r/CitiesSkylines/comments/9r0y4e/grid_idea_im_working_on_fractal_squares/
  8. Menger Sponge: https://blogs.scientificamerican.com/roots-of-unity/a-few-of-my-favorite-spaces-the-menger-sponge/
  9. http://fractalfoundation.org/resources/fractal-software/
Back to top

Citation

BibTeX citation:
@online{2024,
  author = {},
  title = {Fractals},
  date = {2024-05-02},
  url = {https://av-quarto.netlify.app/content/courses/MathModelsDesign/Modules/25-Geometry/30-Fractals/},
  langid = {en},
  abstract = {A Geometric Jewellery Store}
}
For attribution, please cite this work as:
“Fractals.” 2024. May 2, 2024. https://av-quarto.netlify.app/content/courses/MathModelsDesign/Modules/25-Geometry/30-Fractals/.
Complex Numbers
Affine Transformation Fractals

License: CC BY-SA 2.0

Website made with ❤️ and Quarto, by Arvind V.

Hosted by Netlify .