Skip to content

hm5-types (source format) / PlanarGeometry

Interface: PlanarGeometry ​

Flash-style "broken" art: strokes and fills on the same layer merge into one planar map. Crossing strokes split at intersections (draw a cross = four deletable segments); dragging an endpoint onto another welds them; faces are fillable with gap tolerance. Implemented in the planar-vector phase — until then vector editing works on ShapeElements only.

Properties ​

PropertyTypeDescription
edgesobject[]polyline edges between vertices; split whenever edges cross
facesobject[]filled faces bounded by edge loops (recomputed on topology change)
verticesobject[]-

HereSplash — 2D animation for the web