tauseefk

Photograph-ing and engineer-ing | He/him https://afloat.boats/photos

129 followers430 following21 stories

Longform Stories

Whither GPU? - Demystifying Matrices

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

Mar 27·6 min read·1190 words

Code Accountability - 2026

Feb 28·4 min read·753 words

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.

Dec 12·3 min read·504 words

Rust for Javascript Engineers - Connect-4 Interactivity

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

Sep 23·5 min read·938 words

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.

Aug 23·6 min read·1023 words

Man vs Vibes

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

Aug 22·2 min read·321 words

Rust for JavaScript Engineers - Building Connect-4

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

Aug 19·5 min read·935 words

Pokemon Dialog Streaming

Implementing a Pokemon-style streaming dialog system on the web using a toy observable stream library.

May 11·2 min read·278 words

Crossing the WASM

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

Apr 28·6 min read·1144 words

Component Coloring

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

Jan 23·5 min read·822 words

Connecting the Dots

Rebuilding Styles photo-editing feature from iOS 26 for the web.

Nov 11·1 min read·200 words

Render, dude

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

Nov 8·2 min read·291 words

Monochrome Skittles

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

Oct 22·6 min read·1068 words

No Sharp Corners

An algorithm for rounding convex corners and making grids look posh AF.

Aug 25·3 min read·578 words

Cirque Du Spritesheet

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

Apr 29·5 min read·962 words

Streams of Llama

Streaming responses from a local Llama model.

Oct 9·1 min read·10 words

Streams of AGI

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

May 21·2 min read·386 words

Calendar Tetris: UI is a Side-effect

Building the calendar stacking UI in Rust with Dioxus, my favorite UI library for cross platform development.

Apr 29·2 min read·244 words

Calendar Tetris: Representation Matters

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

Feb 12·3 min read·511 words

Calendar Tetris: Intro

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

Feb 10·3 min read·513 words

Dead Simple Spritesheet Animation

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

Dec 5·4 min read·601 words