react
10 posts
- Designing the wait in an AI interface
Inside Prism's AI response component: a 400ms quiet window, gaps between stream events, cancellation races, readable output and a recorded answer that cites the wrong component.
- What gets rebuilt in a hundred merged changes
I replayed the last hundred merged changes of a popular open-source product against its own components and tokens. What was rebuilt, what was bypassed, how I checked it, and why I am not naming the product.
- How I Built a Synastry Engine That Calculates 36 Planetary Aspects in Real Time
Synastry is the astrology of relationships. Computing it properly means calculating aspects between every planet in two birth charts simultaneously. Here's the maths and the implementation.
- A component library that builds itself every day
Prism is a design engineering component library with an autonomous daily pipeline. Scout, curate, build, publish, repeat.
- One colour formula: how I made my developer portfolio feel alive
How I built a cursor-reactive colour system that runs through every interactive element on my portfolio: logo, background, card borders, cursor follower, all from a single formula.
- One component, two layouts: the dual view pattern in React
My portfolio has two completely different layouts that share one component and one data file. Here's the dual view pattern that makes it possible.
- Building a vertical snap carousel with touch-drag pagination
I needed a vertical carousel for my portfolio that snaps cleanly between items and has pagination you can drag on mobile, without a 50kb library. Here's how I built it with CSS scroll-snap, a minimal React hook, and custom touch handling.
- Building Accessibility That Actually Works, Not Checkbox Compliance
Focus trapping, keyboard navigation, screen reader announcements, and reduced motion — built from the start, not bolted on at the end.
- Cursor-Reactive Gradients: Making CSS Respond to Mouse Position
How the colour-changing logo on my portfolio works — 15 lines of maths, a CSS mask, sine waves for scroll, and a lerp function. No library, no canvas, no WebGL.
- How I Made My Portfolio Infinitely Extendable with 4 Lines of JSON
Adding a new project to my portfolio takes 30 seconds. No component changes. No new routes. No layout adjustments. Just 4 lines of JSON and an image dropped into a folder.