V2 of my 1-seg #PCB concept is pretty much ready with through hole pads for adding wires (thanks to @LovesTha for the suggestion), fixed some bugs (thanks to @PossiblyMax for catching) AND added a bunch more pads to open up even more usage options too! /thread #electronics #maker #rgb
To make even the oldest, crappiest, decrepit, broken PC get 400% boost: Just add RGB.
To make even the most horribly derailed, non-accessible application turn into the best, most accessible and fastest on planet earth: Add AI.
I was experimenting with colour distances at work today. I need to find out how similar two colours are, so I wrote a little test program and it was surprisingly pretty.
The algorithm is simple:
1. Fill the canvas with random colours.
2. Set the first pixel (top left) to red.
3. For all pixels, find the most similar pixel and move it next to the current pixel.
To determine the similarity, I calculated the 3D distance in the RGB, HSV and YUV color spaces, which brought very different results. Now, it's quite possible that my HSV and YUV conversion functions were just broken, but that's okay.
(I recommend zooming in!)
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics