blargg / boids

Simple boids simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boids

Simple simulation of swarms. Written in rust, and compatible with web assembly.

Build

If you use nix, shell.nix will create a build environment.

nix-shell

Otherwise install wasm-pack and it's dependencies from you package manager.

Build the package.

wasm-pack build --release --scope <package scope>

This will create a pkg directory with the compiled package.

Publish for use in other projects

wasm-pack publish --access=public

About

Simple boids simulation

License:MIT License


Languages

Language:Rust 95.0%Language:Nix 5.0%