Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/avaer/indev


https://github.com/avaer/indev

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Minecraft-style terrain generation seeded noise functions.

```
const indev = require('indev');

const generator = indev({seed: 'lol'});
const simplexGenerator = generator.simplex({
min: 0,
max: 1,
frequency: 0.01,
octaves: 8
});
const value1 = simplexGenerator.in2D(100, 100);

const uniformGenerator = generator.uniform({
min: 0,
max: 1,
frequency: 0.01,
octaves: 8
});
const value2 = uniformGenerator.in2D(100, 100);

```