Home

Nguyen Huu Khanh

Automating Architecture with Code.

Architect with 11 years of AEC practice (2008–2019), now building 3D and BIM software: a parametric modelling engine and geometry kernels in Rust/WebAssembly, browser 3D viewports, and plugins for SketchUp, Revit, Blender and Figma.

Based in Tauranga, New Zealand. Open to opportunities.


Publications

Chromametry: Metric-Driven Color Palette Generation — A scientific framework for evaluating sequential color palettes across five perceptual metrics in CIELAB.
Independent research, 2024

A Unified Sizing Model for User Interfaces — A proportional sizing system derived from typography, applied consistently across spacing, radius, and layout.
Independent research, 2024


Projects

ParaShape — Parametric 3D model library: configurable building and furniture models (roof framing, stairs, kitchen cabinets, windows, ceilings), edited live in the browser and downloaded as GLB, STL or OBJ. Web app and SketchUp plugin, on my own Rust/WebAssembly parametric engine and a Three.js WebGPU viewport. The library is AI-built: AI agents I orchestrate through the engine MCP server (search, check, verify against closed forms, render, export) have authored over 3,400 parametric models.
Rust · WebAssembly · TypeScript · Three.js · WebGPU · MCP

Decimify — Progressive mesh simplification with a Rust/WASM core: quadric edge collapse that keeps UV seams intact. Drag a slider and watch the polygon count drop in real time, no pre-baked LOD snapshots. Web app and SketchUp plugin.
Rust · WebAssembly · TypeScript · Three.js · SketchUp

BevelUp — Fillet and chamfer tool for SketchUp that rounds any corner, including mixed rounded and sharp edges, open and concave vertices. 15,500+ downloads on Extension Warehouse.
Rust/WASM · TypeScript · Ruby · SketchUp 2022+

Tracepen — Raster-to-vector conversion on the web and in SketchUp, Blender and Figma. Wu colour quantisation in OKLab, region merging and Potrace curve fitting. Outputs SVG, PDF, PNG, DXF and native geometry.
Rust/WASM · TypeScript · Ruby · Python · 4 platforms

Metasheet — Spreadsheet editor for Revit parameters: sort, filter and bulk find/replace, XLSX export and import matched by Element ID, all applied in one transaction. Revit 2022–2027.
C# · TypeScript · WebView2 · Revit API

Motif — Revit add-in that builds a complete material (seamless texture plus surface and cut patterns) from a pattern library.
C# · TypeScript · WebView2 · Revit API

Texturic, TileUp, Hatchy — Material and pattern tools from one codebase: seamless textures with PBR map sets (Texturic), real 3D tiles cut to a SketchUp face (TileUp), and AutoCAD .pat hatch patterns (Hatchy).
TypeScript · WebAssembly · Ruby · SketchUp · AutoCAD

Shapemetry — Geometry kernel in Rust/WebAssembly with a TypeScript API: 2D/3D primitives, NURBS curves and surfaces, half-edge polygon mesh (bevel, extrude, subdivide), and a NURBS BRep engine with booleans, fillets, thicken, loft, sweep and revolve.
Rust · WebAssembly · TypeScript · NURBS · BRep

Domphy — Patch-based UI framework: plain-object syntax, listener reactivity, CSS-in-JS, SSR, 98 UI patches and a port of React Three Fiber’s core. 23 packages on npm, 120,000+ downloads in the past year. Used to build the interfaces of the products above.
TypeScript · npm · 23 packages · MIT

Chromametry — A scientific metrics framework for sequential colour palettes. Five measures (contrast efficiency, lightness linearity, chroma smoothness, hue stability, spacing uniformity) in CIELAB. Benchmarks 11 design systems including Adobe, IBM, GitHub and Salesforce.
TypeScript · npm · CIELAB · Research paper

Kinetix — Clean-room TypeScript rigid-body physics engine (collision, 12 joint types, characters, vehicles, soft body) with zero runtime dependencies, parity-tested against the Jolt Physics WASM build.
TypeScript · Physics · GJK/EPA


Stack

Languages — TypeScript, Rust, C#, Ruby, Python, PHP
Platforms — Browser (WebGPU, WebGL), SketchUp, Revit, Blender, Figma
Build — Vite, pnpm, wasm-pack, tsup, WebAssembly
Concepts — Computational Geometry, NURBS/BRep, Mesh Processing, Parametric Design, BIM Automation, CAD Integration
Design — Color Science, Design System Architecture, Token Systems


Contact

Location: 29A Wylie Street, Gate Pa, Tauranga 3112, New Zealand
Email: khanhnhkts@gmail.com
Phone: 029 0452 4504
GitHub: github.com/domphy/domphy
LinkedIn: linkedin.com/in/khanhhuu
X: @khanh_huunguyen
Facebook: facebook.com/khanhnhkts
Products: 3dshouse.com