Spirograph GUI

版本 1.0.0.0 (243.2 KB) 作者: Brian Moore
A MATLAB GUI for generating customizable multilayer spirographs
1.6K 次下载
更新时间 2013/6/11

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

Syntax: SpirographGUI;
SpirographGUI();

Dependencies: Make sure you add the folder "./HelperFcns/" to your MATLAB
path before running SpirographGUI(). This folder contains
helper functions that are called during execution

Description: This function generates a GUI in a MATLAB figure window
that allows the user to draw customizable multi-layer
spirographs

Controls: Controls are broken into three button groups: Shapes,
Figure, and Spirograph

The Shapes button group allows the user to select from a
list of available inner/outer shapes and customize their
parameters, including the ability to 1) modify the
positions of the holes in the inner shape, 2) change the
active hole, and 3) show/hide the shapes (e.g., you may
want to hide the shapes to view your finished spirograph!)

The Figure button group allows the user to 1) rotate
layer(s) of the existing spirograph, 2) delete layer(s) of
the existing spirograph, and 3) change the current axis
range

The Spirograph button group allows the user to customize
the 1) initial angle, 2) number of revolutions, 3) graph
resolution, and 4) plotting style (e.g., line color, line
width, etc.) of the next spirograph layer. After
customizing the layer, simply push the "Draw" button to
watch your spirograph draw itself (you can then push "Stop"
to terminate the drawing early, if desired)

Author: Brian Moore
brimoor@umich.edu

引用格式

Brian Moore (2024). Spirograph GUI (https://www.mathworks.com/matlabcentral/fileexchange/42173-spirograph-gui), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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