Alright, so. I was working on an tool that overlays a hexagon grid over large im...

@Legit_Spaghetti@mastodo.neoliber.al

Alright, so.

I was working on an tool that overlays a hexagon grid over large images, built with HTML/javascript/CSS.

First iteration was to calculate all points in the hex grid, then use those points to draw the grid onto a canvas overlaid over the image. Slow and inefficient as fuck.

Second iteration was to calculate just the points of a tiling hex pattern, then draw that onto a canvas and use it as a tiling background image. Fast, but imprecise at the sub-pixel level.

What to do? Well...