An open API service indexing awesome lists of open source software.

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

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.

![image](https://github.com/mjs/faux-maps/assets/14993/c656be25-4fce-4457-a68b-58f895759dee)

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
```