Converting Colors in JavaScript at 6 Billion Operations Per Second
Converting colors in JavaScript at 6B operations per second

I built @colordx/gpu to handle real-time color rendering by shifting heavy calculations from the CPU to the GPU. While my CPU-based library handles single conversions efficiently, rendering millions of pixels requires parallel processing. By sending mathematical rules instead of raw data to the fragment shader, I achieved over 6 billion color conversions per second on an Apple M4, outperforming the CPU by 400 times.
"When the tool actually fits the problem, the elaborate workarounds and hacks don't move into the code — they just disappear."