:torus

Example

[3D] Draws a torus. NOTE: You must pass {:mode :webgl} to the third argument of create-game. :radius - The radius of the whole ring (number) :tube-radius - The radius of the tube (number) :detail-x - Number of segments in the x-dimension (number) :detail-y - Number of segments in the y-dimension (number)
[:rotate {:angle (/ (js/window.performance.now) 1000), :axis :x} [:rotate {:angle (/ (js/window.performance.now) 1000), :axis :y} [:torus {:radius 50, :tube-radius 15}]]]