Skip to content

AugmentedFifth/webgl_test

Repository files navigation

WebGL + Rust

because why not, i guess

  • wasm-bindgen for Rust <--> JavaScript interop
  • nalgebra for linear algebra nonsense
  • nphysics as a physics engine (this uses a modified version to fit wasm-bindgen, so you have to git clone --recursive and whatnot)
  • lazy-static.rs for keeping global state
  • actix-web for the server side
  • bincode for serialization/deserialization over the network
  • pcg_rand for generating very high-quality random numbers very quickly

try

git clone --recursive https://github.com/AugmentedFifth/webgl_test.git
cd webgl_test
./build.sh fresh
cd server
make
cd ../out/dist
../../server/target/release/webgl_test_server

firefox localhost:11484

license

GNU Affero General Public License version 3+