Building zero-backend, browser-native engineering tools and auditable JavaScript geometry & calculation modules.
Most utility software ships a server it doesn't need. My work focuses on pushing deterministic calculations, vector CAD path generation, photometric & residential code layouts, and batch file/image pipelines directly into the client runtime using vanilla ES modules, WebAssembly/Canvas2D, SVG path math, and streaming browser APIs—with zero server uploads and zero account friction.
- Engineering Hub & Spec Index: https://kaiyilu.github.io/
Small, dependency-free reference libraries and interactive field guides documenting the exact math behind production tools:
- building-layout-math · Field Guide
IES lumen-method ceiling grid spacing, IRC R312.1.3< 4"baluster centering, carpenter1/16"fraction rounding without cumulative drift, and segmental retaining wall course/aggregate math. - stained-glass-svg-math · Field Guide
Planar half-edge polygon partitioning, shared interior seam deduplication, inward mitered kerf offsets for copper foil and lead came, and cut-ready SVG serialization. - ecommerce-image-specs · Field Guide
Marketplace image requirement specs, Canvas2D pure-white (RGB 255,255,255) background boundary scanning, and Amazon 85% product frame-fill calculation. - canvas-story-deck-kit · Field Guide
crypto.getRandomValuesFisher-Yates deck shuffling, card spread layout coordinates, and high-DPI1080×1920HTML5 Canvas2D card rendering.
| Project | Domain | Key Capabilities & Sub-Tools |
|---|---|---|
| Lighting Layout Calculator | Photometrics & IES Grids | S/MH ratio & ceiling coordinate plots for Recessed, Garage, High Bay, and LED layouts |
| Baluster Spacing Calculator | IRC Framing & Layout | Centered vs. even-bay 1/16" tape marks for Spindles, Deck Posts, and Fence Posts |
| Retaining Wall Block Calculator | Structural Masonry & Earthwork | Base course embedment and BOM schedules for Drainage Gravel, Timber Walls, and CMU Grout Fill |
| Stained Glass Pattern Generator | Computational Craft & SVG CAD | Kerf-compensated templates for Photo-to-Pattern, SVG CAD, Suncatchers, and Glass Costing |
| QuickKit | Client-Side Ecommerce Pipelines | In-memory Excel URL Downloader, SKU Image Renamer, Shopify Size Guide & Bulk Resizer, Amazon & Etsy checkers |
| VibeKit | Canvas2D & Interactive Decks | Zero-account spreads including Yes/No Tarot, Situationship Spread, Love, Thinking About Me, Career, and Daily Vibe Card |