stringart

版本 1.0.1 (93.8 KB) 作者: Giuseppe Cardillo
Stringart: Play with geometry and Bézier's quadratic curve
144.0 次下载
更新时间 2018/7/19

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

String art, or pin and thread art, is characterized by an arrangement of colored thread strung between points to form geometric patterns. Though straight lines are formed by the string, the slightly different angles and metric positions at which strings intersect gives the appearance of Bézier curves (as in the mathematical concept of envelope of a family of straight lines). Quadratic Bézier curve are obtained from strings based on two intersecting segments. String art has its origins in the 'curve stitch' activities invented by Mary Everest Boole at the end of the 19th century to make mathematical ideas more accessible to children. It was popularised as a decorative craft in the late 1960s through kits and books.

Syntax: stringart(varargin)

Properties:
'Sides' - sides number of polygon you want to use (default = 3)
'Crossed' - logical value that says if you want to use the perimeter (0 - default) or bisettrices of vertices (1).
'Density' - The number of pins you want to use for each side default = 40)
'Color' - 1x3 vector that indicates the colors of the wires (default = [0 0 0] black)
Created by Giuseppe Cardillo giuseppe.cardillo-edta@poste.it

To cite this file, this would be an appropriate format: Cardillo G. (2018) Stringart: Play with geometry and Bézier's quadratic curve
https://it.mathworks.com/matlabcentral/fileexchange/68252

引用格式

Giuseppe Cardillo (2024). stringart (https://github.com/dnafinder/stringart), GitHub. 检索时间: .

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

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.1

update in description

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库