How to use this tool
- Compare Manhattan and diagonal-enabled path costs on an obstacle-free grid.
- Set horizontal displacement, vertical displacement, orthogonal movement cost, diagonal movement cost in the indicated units.
- Calculate and compare orthogonal-only cost, diagonal-enabled cost.
Try this example
{
"dx": 3,
"dy": 4,
"straight": 1,
"diagonal": 1.5
}Accuracy and scope
Idealized educational model. Enter measured values in the displayed units; real systems may require additional corrections. User-defined game-rule arithmetic; no current game mechanics or search-volume claims.
Is my data uploaded?
This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.