ates.dev

All Posts

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

Accurate Benchmarking

Jan 12, 2025

A technique for discounting loop overhead when benchmarking code

Using Bitmaps in Dweets

Dec 30, 2024

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

Dweeting Outside the Box

Dec 25, 2024

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

A Short Introduction to Dwitter and JavaScript Golfing

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.