Skip to content

KaitKirt/grow-a-fern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌿 Grow-a-Fern (MATLAB)

A fractal-based simulation in MATLAB that visualizes the organic growth patterns of a fern using mathematical modeling.

🧠 Project Description

This project uses iterative function systems (IFS) in MATLAB to generate and simulate the growth of a Barnsley Fern β€” a mathematical fractal that mimics natural fern structures.

✨ Features

  • πŸ“ Based on affine transformation matrices
  • 🌿 Visualizes each iteration of fern growth
  • 🎞️ Animation support to demonstrate stepwise growth
  • πŸ’Ύ Save outputs as images for presentation or study

πŸ› οΈ Built With

  • MATLAB (100%)

πŸ“‚ How to Use

  1. Open the file grow_a_fern.m in MATLAB.
  2. Run the script.
  3. Adjust iteration counts or transformation probabilities for custom patterns.

πŸ“Έ Demo

Include a screenshot or a .gif of the output plot for maximum effect!

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for details.

πŸ’‘ Inspiration

The Barnsley Fern is a beautiful example of how chaotic systems and linear algebra can produce naturalistic forms. This project was a personal exploration of how math and nature intertwine.

About

A MATLAB script that uses fractal math to grow a fern-like figure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages