Skip to main content

category: Experiment

Categories
Experiment

Building a Canvas Text Block with Pretext

  • Post Date
    Tue Mar 31 2026

I recently came across Pretext, a JavaScript library by Cheng Lou that handles text measurement and layout without touching the DOM. No getBoundingClientRect, no layout reflow. It measures text using the browser’s canvas font engine and does all the line-breaking math itself. I wanted to see what it could actually do, so I built a … Continue reading Building a Canvas Text Block with Pretext


I recently redesigned my blog using Google Stitch — an AI-powered UI design tool from Google Labs — combined with Claude Code to convert the designs into a fully functional WordPress block theme. Here’s how it went. What is Google Stitch? Stitch is a free AI UI design tool from Google Labs that generates high-fidelity … Continue reading Building a WordPress Theme with Google Stitch AI


A personal AI that actually does things, for free or cheap, on hardware you own. No coding required. I’ve always been fascinated by the idea of having a personal AI assistant. Something that knows my context, can access my files, check my calendar, and actually do things instead of just chatting. The problem? Most AI … Continue reading Running Your Own AI Assistant on a Raspberry Pi: A Complete Setup Guide