Dragon Curve from Paper Folding

版本 1.0.2 (1.9 KB) 作者: Karl Ezra Pilario
Plot of the Heighway Dragon Curve fractal from folding paper halfway N times
108.0 次下载
更新时间 2019/2/21

查看许可证

dragon(N) plots the dragon curve produced from folding a strip of paper halfway N times, assuming that it can be done endlessly. The resulting plot is the folded paper: one end is at (0,0), followed by 2^N line segments at right angles with each other.

The hsv colormap is used to color the line segments from end to end.

For more information, follow the Youtube link in the script.

引用格式

Karl Ezra Pilario (2024). Dragon Curve from Paper Folding (https://www.mathworks.com/matlabcentral/fileexchange/70351-dragon-curve-from-paper-folding), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Fractals 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.2

Changed the title.

1.0.1

Changed the flipping implementation.

1.0.0