Converting colors in JavaScript at 6B operations per second
Summary
A JavaScript technique achieves color conversion at 6 billion operations per second, showcasing extreme performance optimization.
Similar Articles
Accurate color conversions (2023)
Chris Lomont explains accurate methods for converting between integer and floating-point color values in C++, highlighting common pitfalls and providing a roundtrip-safe solution with uniform mapping.
@addyosmani: Claude Opus 5.5 drew each frame of this animation in JavaScript. Here's "how browsers work" in 40 seconds.
Claude Opus 5.5 generated each frame of a JavaScript animation that explains how browsers work in 40 seconds.
Generative colors with CSS
A tutorial on using the CSS oklch() function and relative colors to dynamically generate full color palettes from a single hex code, simplifying color management on websites.
The Art of Dithering and Retro Shading for the Web
Maxime Heckel 深入讲解如何在 Web 上实现抖动(dithering)、颜色量化与 CRT 像素化等复古着色后处理效果,结合 React Three Fiber/Three.js 展示自定义 shader 技术与艺术化应用。
What color is your function? (2015)
A blog post from 2015 that presents a hypothetical programming language where functions are colored red or blue, using this metaphor to critique the separation between synchronous and asynchronous functions in languages like JavaScript.