perlin
======
Create perlin noise in 1D, 2D, and 3D!
Features
- 1D perlin noise
- 2D perlin noise
- 3D perlin noise
- Seed capability
- Tested
- Completly written in python
- No dependencies
Usage
This library can be used for generating random terrain for games or getting perlin noise. This library also supports octaves.
Example
import perlin
p = perlin.Perlin(6789) #6789 is the seed
print(p.one(0)) #1D, 0 is the X value
print(p.two(0, 1)) #2D, 0 is the X value and 1 is the Y value
print(p.three(0, 1, 2)) #3D, 0 is the X value, 1 is the Y value, 2 is the Z value
print(p.one_octave(0)) #Use this for octaves, you can ajust the octave variables but this gives you 2 octaves
Know limitations
Slower than noise library Slower with octaves (Work in progress) Some bugs on different seeds
New Features
Now has octave support!
Release files for perlin 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| perlin-0.0.2.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| perlin-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / perlin-0.0.2.tar.gz
| Download URL | perlin-0.0.2.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aacc848d4d3b14cae22d1fcd11b5bda94d76b797548869d037ae2c054a46067e
|
|
BLAKE2b-256 checksum How to use checksums |
dcca6e3aea658fa4b71df2b8034266ed8bc79cf39942438b8519a6283ce95bc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0
|
Release files / perlin-0.0.2-py3-none-any.whl
| Download URL | perlin-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f400be968174b50435762983e114e58720e39ab43205e00c4f0b649fe4eb04b
|
|
BLAKE2b-256 checksum How to use checksums |
7283255a458b1b72da2e648340559533b8e832c3a4655ab2d1b32c3a9acc564c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0
|