https://www.boristhebrave.com/2021/05/23/triangle-grids/#How_to_Use_Triangles_Grids[1]
https://github.com/BorisTheBrave/grids/blob/main/src/updown_tri.py[2]
https://brython.info/gallery/gallery_en.html[3]
brython notes:
- worked surprisingly well for this project
- couldn’t figure out how to assign a class to svg.path
- documentation seems very sparse - see svg docs[4]
source code for this test page: diagram.py
I don’t think I’ll end up using this, but it could be useful for people who already have python code and want to make an interactive diagram.
Also see https://twitter.com/sealgrim/status/1723400771209748519[5] for converting triangle coordinates into hexagonal cubic coordinates