Paper’s Color Mixer

Paper by 53 (recommended app) now sports an innovative color mixer / color picker. Turns out it was quite a mathematical struggle to implement it too. We learned in elementary school that yellow and blue when mixed turn green. However when you plug in the values to this equation, you get a different result: Gray! …

The <main> Element

The ARIA role main is intended to serve as an alternative to a “skip to main content” link, something especially helpful to users accessing a site by way of assistive tech or navigating by keyboard alone. It provides the browser (or the users’ assistive software) with a predictable landmark for the page’s primary content so …

Viewport Meta Tag For Non-Responsive Design

Even if your site is non-responsive, you’ll still want to use the viewport meta tag in certain cases. Don’t set it to scaling and such, but to a fixed width like so: <meta name="viewport" content="width=1024"> I myself needed this one for the EV-Point website where not all content was shown correctly before adding a fixed …

∞.js

∞ is a UITableView for the web: it speeds up scrolling through long lists and keeps your infinite feeds smooth and stable for your users. It is small, battle-tested, and highly performant. Just compare the demos without ∞.js and with ∞.js, and be amazed UPDATE 2016 Want to use Infinity in production? I’d recommend using …

Learnable Programming — Designing a programming system for understanding programs

Bret Victor — of the mind-boggling Inventing on Principle fame — is at it again Khan Academy recently launched an online environment for learning to program. It offers a set of tutorials based on the JavaScript and Processing languages, and features a “live coding” environment, where the program’s output updates as the programmer types. Because …