3 ms·
For an architectural overview, view source of the page. Bottom has an ascii diagram of the geometry, and how the program works. For example: "a hexagon is six
by pp19dd 6y ago
For an architectural overview, view source of the page. Bottom has an ascii diagram of the geometry, and how the program works.
For example: "a hexagon is six equilateral triangles (length h) put together around a common center"
____ _______
/\ /\ « each bisected \ | / (1/2, √3/2)
/__\/__\ triangle in it h \ | /
\ /\ / is defined by \|/ 60°
\/__\/ h the unit circle » (0,0)
- TeMPOraL 6y agoAmazing! That's literally the prettiest code comment I've seen in my life. And a perfect way to document the inner working for the curious! Thanks for doing it (and telling about it; I'd never guess it's there).