Finding Colours - Part 1: This should be easy...right?
3rd July, 2022
#web-dev
#fun
#problems
#javascript
In this post I'm going to look at how to find the dominant colours in an image using JavaScript. This was a challenge I originally faced during a coding interview. I'll go over a simple JS implementation and some potential pitfalls to watch out for.
Continue reading...