ates.dev

All Posts

I write about code, techniques, personal stories from the IT realm.

Joystick Hack

An Atari 2600 video game console, a CX40 joystick, with schematics of the joystick overlaid

Jan 20, 2025

A childhood adventure into electronics through a DIY joystick modification

Accurate Benchmarking

The simplification of a math expression to derive the difference between two time measurements

Jan 12, 2025

A technique for discounting loop overhead when benchmarking code

Using Bitmaps in Dweets

A screenshot of a canvas with a black mouse pointer over a white background

Dec 30, 2024

A technique for encoding, decoding, and rendering bitmaps in dweets

Dweeting Outside the Box

A screenshot of a canvas with 9 black rectangles on a white background

Dec 25, 2024

Demonstration of JavaScript golfing techniques by rendering the "default dweet" in different ways

A Short Introduction to Dwitter and JavaScript Golfing

A screenshot of a canvas with 9 black rectangles on a white background

Dec 20, 2024

A very short introduction to JavaScript golfing on Dwitter, with a focus on the "default dweet"

Responsive Canvas Rendering

A filled circle and an empty circle on an HTML canvas, with a zoomed-in view of the anti-aliasing at their edges.

Dec 08, 2024

Techniques for responsive canvas rendering to maintain crisp visuals across varying screen sizes

We Have a Corner Problem

The vectors involved in moving the bottom right corner of a crop rectangle while obeying the aspect ratio constraint

Nov 28, 2024

An exploration of a technique that simplifies the implementation of draggable crop rectangles by focusing on the transformation of just one corner