In the last example (Reading Pixels and Colors) we used get() to extract the color of a pixel and set() to change it. But for anything other than really small images, this method can be really, REALLY slow! Instead, accessing and changing values directly in the image's pixel array is much faster, but is a bit more confusing to get used to.
👩💻 https://editor.p5js.org/jeffThompson/...
ALL THE VIDEOS IN THIS UNIT
🎥 • CP2: Week 03 (Image Filters)
CHALLENGES
❓ Can you have random pixels become random colors?