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.
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.
Converting an Integer to a Decimal String in Under Two Nanoseconds
An article discussing a technique to convert an integer to a decimal string in under two nanoseconds, focusing on performance optimization.