The Dragon Curve is a fractal that was made famous in Jurassic Park, a novel by Michael Crichton.
This file calculates and plots the Dragon Curve. The user is encouraged to make their own variations of the fractal by experimenting with the following options:
(1) Initial starting shape
(2) Angle of rotation
(3) Number of fractal iterations
The m-file (dragon_curve.m) also automatically limits the size of the fractal to prevent the user from attempting to generate a fractal that uses an excessive amount of memory.
DISCLAIMER: This script can be a bit addicting! :)
MathWorks update: Added Live Script.
Removed rotateByAngle.m (included those lines as part of the fractal generating script
Create scripts with code, output, and formatted text in a single executable document.