aaronzshey / react-hexgrid

Build interactive hexagon grids with React
https://main--66a5393443e58f4dc4f0ca6b.chromatic.com/
MIT License
1 stars 0 forks source link

Spiral is not continuous #45

Open aaronzshey opened 1 month ago

aaronzshey commented 1 month ago

the red blob games article describes how to make spirals by concatenating rings. However, this means there's a jump between each successive ring.
a new continuousSpiral function would specify direction (clockwise or counterclockwise), along with spiral advance point.