레퍼런스 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().

예제

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

관련 레퍼런스