The Humble Halfedge Mesh

By Will Pearson, May 2014

This is a slightly random project to port my recent work (alongside Daniel Piker) on halfedge, "n-gonal" meshes in Rhinoceros/Grasshopper3d to JavaScript. I wanted to demystify somewhat the data structure and demonstrate its flexibility and power. Unfortunately the source code is currently a mess, but watch this space...

Go on, scroll down and hover over something.

VERTICES
A bunch of points
FACES
Join the dots
HALFEDGES
The backbone
// Automatically generated.