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

Syntax#

sphere(r: float, /) -> None

Parameters#

  • r: float - the radius of the sphere

Updated on November 12, 2021 11:30:58am UTC