Referencia 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().

Ejemplos

Notice any errors or typos? Please let us know. Please feel free to edit src/core/p5.Graphics.js and open a pull request!

Referencias Relacionadas