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 September 01, 2022 14:08:27pm UTC