Super Simplex Noise for Python
Project description
Super Simplex
Description
This is a library dedicated to a Python port of KurtSpencer's Super Simplex Noise implementation.
Installation
pip install super_simplex
Usage
Generate 2D noise value for 1 seed:
import super_simplex
noise = super_simplex.noise_2d(
x = 0.1,
y = 0.1,
perm = super_simplex.gen_permu(seed = 384714386)[0]
)
print(noise[0])
Generate 2D noise value for 2 seed using a generator:
import super_simplex
generator = super_simplex.Gener(
[384714386, 983475466]
)
print(generator.noise_2d(0.1, 0.1))
Credits
All credit goes to Kurt Spencer for the original C# implementation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
super_simplex-1.0.1.tar.gz
(13.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file super_simplex-1.0.1.tar.gz.
File metadata
- Download URL: super_simplex-1.0.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2154e272c24b4e17ac3ad9e8f8a327ad7c5126d157dbf4ee7bbbc4ae36276077
|
|
| MD5 |
ad48447c0ba5cd69952da288bd1318bd
|
|
| BLAKE2b-256 |
08ab7b8156bcedcd23c05480b6d4400147525e1fd557d2b8695450dab2caef58
|
File details
Details for the file super_simplex-1.0.1-py3-none-any.whl.
File metadata
- Download URL: super_simplex-1.0.1-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bddc73238f3e88d91adbfdca3c605ff2aea77fa6ec6a082ffdf9b3f9bfb4fd7b
|
|
| MD5 |
e70afbcf69a46ffa78aa5528ffb7198e
|
|
| BLAKE2b-256 |
3b6458f506a992b03aec105500b9cfaebb0519d38477f6c2719f17818dbcb7c7
|