Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 137 posts.

Design & UX
2024
67

Time-Based CSS Animations

In my earlier post Time Uniform For CSS Animation, I took a note about a way to do CSS animations with time ticks instead of keyframes. It was limited applicable because CSS lacked the ability of doing complex Math calculations. After years of wait, CSS now has enough Math functions supported, particularly mod()…

70

Atkinson Dithering (2021)

When the Macintosh was released in 1984, it featured a square-pixeled black-and-white display at a crisp 72 dots per inch. The 512x342 resolution might seem less than impressive today, but for the time it was a pleasantly high-resolution consumer-grade computer. Among other things, the monospaced Monaco 9pt bitmap…

81

An Ode to Deluxe Paint (2023)

When first seeing an Amiga 500 computer, it wasn't the games but a copy of the painting program Deluxe Paint II that really got me hooked. Since then, computers and visual art have forever been linked in my mind. Apart from dreaming of an Amiga of my own, my boyhood interest in technical marvels was never about…

84

You need 4 colors

2 for text and background(primary & secondary colors). 1 accent color to highlight important elements(number 4 & buttons). And an optional tertiary color to add a bit of personality(the hue slider).