Main graphics and rendering context, as well as the base API implementation for p5.js "core". To be used as the superclass for Renderer2D and Renderer3D classes, respectively.
구문
p5.Renderer(elt, [pInst], [isMainCanvas])
매개변수
elt
DOM node that is wrapped
pInst
pointer to p5 instance
isMainCanvas
whether we're using it as main canvas
Notice any errors or typos? Please let us know. Please feel free to edit src/core/p5.Renderer.js and open a pull request!