Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avaer/indev
https://github.com/avaer/indev
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/avaer/indev
- Owner: avaer
- Created: 2016-03-23T05:56:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-04T16:59:30.000Z (over 7 years ago)
- Last Synced: 2024-10-09T19:22:38.698Z (3 months ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);```