File Exchange

image thumbnail

Dragon Curve (aka Jurassic Park Fractal)

version 1.0.0.0 (50.1 KB) by Joseph Kirk
Plots user specified variations of the Dragon Curve

4 Downloads

Updated 04 Mar 2016

View License

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! :)

Comments and Ratings (6)

how to put animation on the dracon curve?

kjsdg sdf

Это просто ахуенно! Огромное спасибо автору.

Bo BAI

alaa taha

good work

walter harding

neat!

ed churchill

i love it

Updates

1.0.0.0

MathWorks update: Added Live Script.

1.0.0.0

Removed rotateByAngle.m (included those lines as part of the fractal generating script

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor