WebGL 2 / WASM app Active 2026
PolyWash
Browser-based 3D miniature optimizer, UV unwrapper, LOD builder and cavity-aware painter.
Turns heavy 3D printable sculpts into lightweight, tabletop-ready GLB tokens entirely in the browser. Multi-worker xatlas UV unwrapping, KTX2 detail encoding, three LOD tiers and a miniature painter with zero server uploads.
PolyWash WebGL 2 / WASM app
Why it exists
Print-ready STLs often contain a million or more triangles and weigh tens of megabytes per miniature. Dropping raw print sculpts straight into a browser tabletop chokes frame rates and GPU memory before an encounter even starts.
PolyWash runs the entire asset pipeline locally in a browser tab so heavy miniatures shrink to fast GLB tokens without installing Blender or uploading private sculpts to a cloud service.
How the pipeline works
- Prepare and base: Imports STL, OBJ, 3MF and GLB files, centers ground contact and generates beveled round tabletop bases ranging from
25 mmto100 mm. - Worker-offloaded optimization: Generates
close,tableandfarLOD meshes via quadric decimation, runsxatlasUV unwrapping inside a Web Worker, and packs micro-detail maps with Basis Universal (KTX2) so the viewport stays responsive. - Miniature-painter brushes: Includes
flat,fill,wash(cavity shading),ink,dry(edge highlight), directional zenithalairbrush,lift, liquidmask, and pull-apart trianglegroups. - Portable project format: Saves stroke-replayable
.mtpaintarchives alongside optimized GLB exports, released under the MIT license.