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

Function getPixels

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

Source from the content-addressed store, hash-verified

513 myp5.filter(myp5.BLUR);
514 };
515 let getPixels = () => {
516 myp5.loadPixels();
517 return myp5.pixels.slice();
518 };
519
520 drawAndFilter();
521 let p1 = getPixels();

Callers 1

p5.RendererGL.jsFile · 0.85

Calls 2

sliceMethod · 0.80
loadPixelsMethod · 0.45

Tested by

no test coverage detected