Published On Apr 19, 2021
In this project we will code a custom image filter that blurs the image, and then approximate each pixel to the nearest color.
Content of this video:
0:00 Introduction
0:10 Load and display the image
2:28 Create colors array
3:56 Load pixels
6:09 Find closest color
9:11 Result
If you want to support my channel, follow the link below and become a Patreon. You will also get free source code from the tutorials here on YouTube and other cool stuff on Instagram.
/ colorfulcoding
Custom animations at fiverr:
https://www.fiverr.com/colorfulcoding
For more examples of things you can do in p5.js, just head over to Instagram.
/ colorfulcoding
If you don't know how to get started with p5.js, here's a video covering that:
• Get started with p5.js in 8 easy step...
Download p5js sound library:
https://p5js.org/download/
p5.js documentation:
https://p5js.org/reference/
If you have any questions or requests for future projects, feel free to leave a comment below 👇