Streamlined version of Perlin-Noise
Project description
easy_perlin_noise
This is a package used to streamline the use of the perlin_noise package (https://github.com/salaxieb/perlin_noise), while adding more functionality, like exporting generated noise to files for later use.
This package streamlines the use of the package perlin_noise by allowing to create perlin noise with a single package function
required packages:
- perlin_noise (https://github.com/salaxieb/perlin_noise)
- matplotlib (https://matplotlib.org/)
- logging (python built in package)
- sys (python built in package)
Usage
To import the package, use from EasyPerlinNoise import Noise
To generate noise use:
[Chosen Variable Name] = Noise([xpix], [ypix], [zpix], [octaves], [fname])
[Chosen Variable Name].EasyNoiseGen()
This will generate the requested Perlin Noise, to access the perlin noise, use the variable name you chose
Arguments:
- xpix : width of array
- ypix : height of array
- zpix : depth of array (optional)
- octaves : base octave, all octaves are double the previous octave, if the octave provided is 2, the 2nd octave level will be 4, and the 3rd octave will be 8...
- fname : name of csv file that values should be exported to (optional)
further documentation at a later date
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
File details
Details for the file EasyPerlinNoise-0.0.1.linux-x86_64.tar.gz.
File metadata
- Download URL: EasyPerlinNoise-0.0.1.linux-x86_64.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.8.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95f71160f7d768a27e64f10b182a702125b5070ac19551cec4053d82785c8b94
|
|
| MD5 |
bb0b29bfae06627334ba083e389b3d04
|
|
| BLAKE2b-256 |
dfa00a3689c70440da8d98d6e145c9b797b82d4894645a0b7e54b675345e5432
|