A fractal-based simulation in MATLAB that visualizes the organic growth patterns of a fern using mathematical modeling.
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.
- π 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
- MATLAB (100%)
- Open the file
grow_a_fern.m
in MATLAB. - Run the script.
- Adjust iteration counts or transformation probabilities for custom patterns.
Include a screenshot or a
.gif
of the output plot for maximum effect!
This project is licensed under the MIT License. See the LICENSE file for details.
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.