Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
400 stars 73 forks source link

feat(Ruler): Add grid mode #1372

Closed Kruptein closed 8 months ago

Kruptein commented 8 months ago

WIP

This PR adds an extra option called 'grid mode' to the ruler tool (and as a result the select tool as well when it's in ruler mode).

In grid mode the ruler calculates the distance between 2 points in terms of the number of grid cells it has to traverse (e.g. the number of squares in a square grid setup).

This results in something like: image

Showing a total of 21 cells traversed which equals 105ft (with 1 grid = 5ft settings).

Kruptein commented 8 months ago

image Also supports hexes!