MCPcopy
hub / github.com/processing/p5.js / startDraw

Function startDraw

test/unit/webgl/p5.RendererGL.js:552–556  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

550 test('BLUR parameters make different output', function() {
551 myp5.createCanvas(10, 10, myp5.WEBGL);
552 let startDraw = () => {
553 myp5.clear();
554 myp5.fill('RED');
555 myp5.circle(0,0,8);
556 };
557 let getPixels = () => {
558 myp5.loadPixels();
559 return myp5.pixels.slice();

Callers 1

p5.RendererGL.jsFile · 0.85

Calls 2

clearMethod · 0.45
fillMethod · 0.45

Tested by

no test coverage detected