Py5Graphics.sphere()

Py5Graphics.sphere()#

A sphere is a hollow ball made from tessellated triangles.

Description#

A sphere is a hollow ball made from tessellated triangles.

This method is the same as sphere() but linked to a Py5Graphics object. To see example code for how it can be used, see sphere().

Underlying Processing method: PGraphics.sphere

Signatures#

sphere(
    r: float,  # the radius of the sphere
    /,
) -> None

Updated on March 06, 2023 02:49:26am UTC