7 min read
How to use the Gamepad API in JavaScript
Learn the JavaScript Gamepad API: read an Xbox or PlayStation controller with getGamepads(), poll buttons and sticks, add rumble, and play a platformer demo.
7 min read
Learn the JavaScript Gamepad API: read an Xbox or PlayStation controller with getGamepads(), poll buttons and sticks, add rumble, and play a platformer demo.
15 min read
How I built NES-style 8-bit sound effects with about 250 lines of Web Audio API code, then pushed it to a four-channel chiptune and a lo-fi tape deck.
8 min read
How gain maps put an HDR photo and its SDR fallback in one file, how Adobe Lightroom exports them, and demos you can drag to see the difference.
8 min read
A behind-the-scenes account of preparing for the June 2022 Strawberry Supermoon.
1 min read
My collection of code snippets that I use while coding the Genesis Framework for WordPress.
6 min read
A laundry list of commands to help you install a LAMP stack on Ubuntu+.
2 min read
How to use REM units and the Golden Ratio Typography Calculator to set font sizes, line heights, and margins with mathematical precision.