Simplex world generation built with the JavaScript Canvas API and Web Workers API.
https://n8brooks.github.io/world_generation/dist/index.html?theme=atlas&shape=square
https://n8brooks.github.io/world_generation/dist/index.html?pixels=5
- theme: "pixel" | "atlas" (default is "pixel")
- shape: "circle" | "square" | "flat" (default is "circle")
- seed: integer (default is Math.random() * 2**32)
- octaves: integer (default is 5)
- frequency: float (default is 0.002)
- persistance: float (default is 0.5)
deno bundle src/world_generation.ts dist/world_generation.js -c deno.json
deno bundle src/worker.ts dist/worker.js -c deno.json