https://github.com/mjs/faux-maps
Generates cute, random maps in the browser using WebAssembly
https://github.com/mjs/faux-maps
graphics noise rust wasm web
Last synced: 9 months ago
JSON representation
Generates cute, random maps in the browser using WebAssembly
- Host: GitHub
- URL: https://github.com/mjs/faux-maps
- Owner: mjs
- License: mit
- Created: 2024-06-15T10:30:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-10T10:44:13.000Z (over 1 year ago)
- Last Synced: 2025-03-07T13:02:08.451Z (9 months ago)
- Topics: graphics, noise, rust, wasm, web
- Language: Rust
- Homepage: https://menno.io/faux-maps/
- Size: 149 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Faux Maps
Generates cute, random maps in the browser using WebAssembly. Most of the heavy
lifting is done by the excellent [Noise](https://crates.io/crates/noise) crate.

Live instance: https://menno.io/faux-maps/
## How to install dependencies
```sh
npm install
```
## How to run in debug mode
Need this workaround to avoid TLS issues (the Nix flake devshell already has this):
```
export NODE_OPTIONS=--openssl-legacy-provider
```
This builds the project and opens it in a new browser tab. Auto-reloads when
the project changes.
```sh
npm start
```
## How to build a release
This builds the project and places it into the `dist` folder.
```sh
npm run build
```