# Grasshopper, 25 primitives (11 components, 14 wires) I read a meta post about programs in GH and LabVIEW, and follow similar instructions to measure a visual language. [![grasshopper program][1]][1] Components from left to right: - `Side count` slider: input - Polygon Primitive: draw a polygon on canvas - Explode: Explode a polyline into segements and vertices - Cross reference: build holistic cross reference between all vertices - Line: draw a line between all pairs - Delete Duplicate Lines - Length of curve - (upper) Sum - (lower) Division: because `Polygon Primitive` draws polygon based on radius, we need to scale the shape - Multipication - Panel: output [![rhino screenshot][2]][2] [1]: https://i.sstatic.net/RWJek.png [2]: https://i.sstatic.net/o8eLi.jpg