Reference reset()

reset()

Resets the graphics buffer's transformations and lighting.

By default, the main canvas resets certain transformation and lighting values each time draw() executes. p5.Graphics objects must reset these values manually by calling myGraphics.reset().

Examples

Syntax

reset()

Parameters


Related References