Install the dependencies.
npm install
The following command compiles the Rust code, and replaces the contents of src/polyglons-wasm
with the artifacts. Make sure to run this command and commit the results if you modify any Rust code!
npm run build-wasm
Launch the development server.
npm start
You can navigate to localhost:3000 in your browser and explore the islands. The
controls are explained in the on-screen text.
There are no known bugs to report.
Dependencies are marked unused if they are included in the source code (e.g. because they came in the with create-react-app stencil), but did not end up being effectively used by us. Removing them would be unnecessarily invasive.
threeutilities to make interacting with WebGL in the browser easier@react-three/fiberusethreein the browser@react-three/dreiutilities to interact with@react-three/fiber@react-three/postprocessingunused@testing-library/jest-domunused@testing-library/reactunused@testing-library/user-eventunuseddat.guiused during development to make parameters adjustable from the browserlil-guiused during development to make parameters adjustable from the browserreactbuild user interfaces using components that automatically update as dependencies changereact-domhelper package forreactreact-scriptshelper scripts for react developmentseedrandomseedable random number generator for terrain generationweb-vitalsunused
noiseused for sampling Perlin noise for terrain generationrustc-hasha faster hash mapwasm-bindgenmake rust code callable from the web appgetrandomunused but included so that we can enable js featurenalgebralinear algebra library, comparable to GLMbytemuckmake the creation of flat float buffers easier