Latest publications
New notes and blog posts, newest first.
View revisionschezmoi: Manage and Sync Dotfiles
Start with one configuration file, separate shared settings from local state, and use Git to bring them to other machines.
Cloudflare Workers: a local API, storage, and production preparation
Understand the Workers isolate model, build and check a local TypeScript API, and choose storage, routing, environment isolation, and operational safeguards.
Google Cloud: Deploy an Authenticated Cloud Run Service
Understand projects, billing, and IAM, then use uv to build a Python app and deploy, invoke, roll back, and clean up a Cloud Run service.
Omarchy Desktop: Installation, Development, and Safe Maintenance
Understand Omarchy, Arch Linux, and Hyprland, then prepare an installation, work on a local project, customize safely, and recover from problems.
WebGPU: compute an array and draw a triangle in the browser
Learn WebGPU compute and rendering with complete local examples, CPU and GPU trade-offs, data layout, error handling, and performance measurement.
Double pendulum: divergence from nearby initial states
Compare nearby double-pendulum states and understand chaos, integration and trajectory error.
Game of Life: local rules and emerging patterns
Draw cells on a periodic grid and explore still lifes, oscillators and gliders.
Gravity orbits: initial speed, inclination and ellipses
Compare circular and elliptical motion in a central gravity model and interpret the velocity arrow and orbital readouts.
Reaction–diffusion: from concentrations to spots and mazes
Explore how reaction, diffusion and parameter changes generate textures in a Gray–Scott grid.
Wave interference: sources and phase differences
Add wave sources and change spatial frequency to explore reinforcement, cancellation and normalized displacement.
Flow Field: particle trajectories and vector perturbations
Generating dynamic particle trajectories guided by a 2D velocity vector field with draggable vortex perturbation and offscreen graphics in p5.js.
Prism Dispersion: geometric optics and batched WebGL rendering
Tracing 2D optical refraction and internal reflections with Cauchy dispersion, batched through a custom p5.js WebGL pipeline.