129c904967
* refactor to src folder * add working voronoi js file with types * some spring cleaning * update voronoi-core.d.ts to include inner class exports * make voronoi go really fast * do the voronoi dance * better handle outliers in voronoi * make renderer use multiple layers * resize voronoi with resize + squash all in one buffer * actually wait for shader factories to be created + cleanup * show more info with FPS Counter * POWER UP |
||
---|---|---|
.. | ||
logs | ||
src | ||
tests | ||
www | ||
.appveyor.yml | ||
.cargo-ok | ||
.gitignore | ||
.travis.yml | ||
build_games.sh | ||
Cargo.toml | ||
LICENSE_APACHE | ||
LICENSE_MIT | ||
names.sh | ||
package-lock.json | ||
parse.py | ||
README.md |
Planetwars frontend
This is the main folder of the Planetwars frontend.
Here you can compile the rust wasm files needed in the 'WWW' folder that is actually used to host the server.
When making changes make sure you recompile them using wasm-pack build
and webpack is running in www with npm start
from the www folder.
Build
wasm-pack build
Dependencies
- rustup, rustc, cargo
- npm
- wasm-pack
- nightly, wasm32-unknown-unknown target
...
Follow this link https://rustwasm.github.io/docs/book/game-of-life/setup.html