trueform/live

Live examples

The trueform TypeScript library, running in this tab. Each timing is the trueform call alone.

Cutting and combining

  • Boolean DifferenceDragon minus sphere, as you drag
  • Cross-SectionA plane cut with a filled face
  • SlicingAlternating bands and slice curves
  • Tunnel ExcavationExcavated volume per layer and ore
  • Hole FillingPunch holes, trueform patches them

Remeshing

  • DecimationFewer faces, to a target count

Queries

  • Collision Detection25 dragons, contact on every move
  • Closest PointsThe closest pair between two meshes

Fields on a mesh

  • Geodesic RingsRings of equal distance along the surface

Registration

  • Mesh RegistrationOBB fit and ICP refinement

2D geometry

  • Interactive CDTConstrained Delaunay, holes you move
TypeScript docs npm i @polydera/trueform

Cutting and combining

Tunnel Excavation

Drag a handle or the tunnel; handles lock while exploded. Ctrl + scroll zooms.

–ms–polygons