Home › Forums › Nazca › Drawing Ellipses
I would like to draw some ellipse in my layout, but I have not found any way to do so with the Nazca modules. Do you have any suggestions how to do this?
Thanks in advance
You can just define the points of the ellipse yourself in a loop, or you could use the Nazca circle() and transform the points. Here is an example:
import nazca as nd
circle = nd.geometries.circle(radius=5, N=20)
ellipse = [(x * 0.5, y) for x, y in circle]
© 2023 Nazca Design. | email@example.com