Triangle grids

 from Red Blob Games
29 May 2021[1][2][3]

brython notes:

source code for this test page:

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[5] for converting triangle coordinates into hexagonal cubic coordinates

Email me , or tweet @redblobgames, or comment: