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

This page is generated from the comments in src/core/p5.Graphics.js . Please feel free to edit it and submit a pull request!

Related References