TorusArtist.draw
- TorusArtist.draw(color=None, u=None, v=None)[source]
Draw the torus associated with the artist.
- Parameters
color (tuple[int, int, int] | tuple[float, float, float] |
Color
, optional) – The RGB color of the torus. Default iscompas.artists.ShapeArtist.color
.u (int, optional) – Number of faces in the “u” direction. Default is
TorusArtist.u
v (int, optional) – Number of faces in the “v” direction. Default is
TorusArtist.v
.
- Returns