RSSAmplifier

Blog

afloat.boats

Recent content on afloat.boats

afloat.boatsRSS feed ↗16 posts

Latest posts

Whither GPU? - Demystifying Matrices

Building intuition for matrix transforms by building a rotating cube with Canvas2D APIs.

Code Accountability - 2026

In the year of our Lord Claude Code I think it is important for reasons of fairness that if a human won’t review their own AI-generated code, we cannot expect other humans to do so either. The time required to conduct a thorough human review is much higher than the time it takes Claude to generate tens of thousands of lines of code. This wouldn’t have been a problem if it were trivial to…

Rust for JavaScript Engineers - Hello Universe

A quick start with Rust's toolchain and Cargo for JS engineers, before diving into the Connect-4 build.

Rust for Javascript Engineers - Connect-4 Interactivity

Player turns, move validation, and win detection for Connect-4 in Rust compiled to WASM.

Rust for JavaScript Engineers - All a Board

Calling JS from Rust, building the Connect-4 board as a Vec, and rendering it as HTML across the WASM boundary.

Man vs Vibes

Got nerd sniped into missing a workout, and improving the performace of rendering 500k rectangles by 10x.

Rust for JavaScript Engineers - Building Connect-4

Project structure, wasm-bindgen, enums, and traits — first steps toward building Connect-4 with Rust and WASM.

Crossing the WASM

Architecture of Flashlight, a browser roguelike with vanilla JS, Rust/WASM, recursive shadowcasting, and BFS pathfinding.

Component Coloring

NextJS 15 made sync APIs async to force component coloring for SSR boundaries. Here's why.

Render, dude

Writing a minimal renderer for a photo editor using TypeScript and WebGPU.

Monochrome Skittles

Reverse engineering Apple's 2D style edit slider for the web, with some React and a whole bunch of math.

Cirque Du Spritesheet

Creating motion streaks in a Bevy game using a ring buffer.

Streams of AGI

DIY streaming for OpenAI's chat API using ReadableStreams, event parsing, and a custom React hook.

Calendar Tetris: Representation Matters

Using Petgraph's directed graph to model overlapping calendar events instead of self-referential types in Rust.

Calendar Tetris: Intro

How Apple, Google, and Outlook stack overlapping calendar events differently, and what sane stacking looks like.

Dead Simple Spritesheet Animation

A spritesheet animation state machine in Rust with page-based looping and variant transitions for 2D games.