Skip to content

A collection of graph algorithms in JavaScript, for use in game development. Includes maze generation and path finding. Published on npm as @amarillion/helixgraph

License

Notifications You must be signed in to change notification settings

amarillion/helixgraph

Repository files navigation

helixgraph

A library of path finding & graph algorithms for game development, for JavaScript ES6

This library includes

  • path finding algorithms such as A*, dijkstra, and breadth-first-search
  • a few maze generation algorithms

The algorithms are suitable for tilemaps, regular grids, as well as (non-regular) graphs.

Installation

npm install @amarillion/helixgraph

TypeScript definitions are included

Live demo

Play with the live examples
Source code for all examples is on github.

Documentation

Source

Source code: https://github.com/amarillion/helixgraph/
License: MIT

About

A collection of graph algorithms in JavaScript, for use in game development. Includes maze generation and path finding. Published on npm as @amarillion/helixgraph

Resources

License

Stars

Watchers

Forks

Packages

No packages published