How to make geometrical shapes ? #1638
Unanswered
RetroAndDev
asked this question in
Q&A
Replies: 1 comment
-
The first step is drawing an arc/circle the code Cosmos uses to draw a circle is here . It uses the Midpoint circle algorith https://en.wikipedia.org/wiki/Midpoint_circle_algorithm.There is currently no way to draw an arc in cosmos, which should be added. The same algorithm can be used for this. A rounded rectangle can be made up of a few arcs and straight lines and I think more complex shapes can be built up from lines and arcs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i want to make geometrical shapes (like a circle or a rounded rectangle) on cosmos, do you have ideas ?
Beta Was this translation helpful? Give feedback.
All reactions