Py5Graphics.shininess()#

Sets the amount of gloss in the surface of shapes.

Description#

Sets the amount of gloss in the surface of shapes. Use in combination with Py5Graphics.ambient(), Py5Graphics.specular(), and Py5Graphics.emissive() to set the material properties of shapes.

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

Underlying Processing method: PGraphics.shininess

Syntax#

shininess(shine: float, /) -> None

Parameters#

  • shine: float - degree of shininess

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