CodingTrain / CodingTrain/Suggestion-Box
Mystic Rose
- Dominant language
- No language data
- Stars
- 570
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
The mystic rose is a pretty simple pattern, yet it looks cool. It works quite simply: you have a circle, the circle has 'N' points on it (they don't necessarily need to be evenly spaced), and then each point on the circle connects to every other point on the circle.
A simple demonstration for this is : http://demonstrations.wolfram.com/TheMysticRose/
One solution for this in p5 and Processing was this : https://gist.github.com/AlcaDesign/7ec612e94b19f9a2865a8f1cbcd95573 although there are a few performance issues.
Note : To debug certain issues (too many/too little lines being drawn - and other related problems) the formula (N² / 2) + (N / 2) calculates how many lines should be drawn with a set number of points. N represents the number of points on the circle.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.