extract-region-polygon
v0.1.1
Published
A small library to extract the border of a polyomino defined by the coordinates of the squares it contains.
Downloads
1
Readme
A library to extract the outside border of Dwarf Fortress regions from the string defining the squares contained in the region given by DFHack. Made to be used as a WebAssembly module, built with wasm-pack.
Build
Building for front-end
To build the project to be used in your front-end application using a bundler, use:
wasm-pack buildBuilding for node
To build the project to be used in a back-end application using Node.JS, use:
wasm-pack build --target nodejs