Noisemap
A simple library for python which returns a noisemap as a 2D numpy array.
Installation
pip install noisemap
Usage
Functions
Mapgen
Mapgen(size, smoothness)
Parameters
size
size defines how many data points are in the array. The noisemaps generated are always square, so a map with size 5 would be a 5x5 2D array.
smoothness
smoothness affects how smoothed out the noisemap is. A smoothness of 0 would be a grid of completely random numbers, whereas a higher smoothness would have each data point be relatively close in value to its adjacent data points.
Notes
- All datapoints are floating point numbers generated with
random.random(). This means you can affect the numbers in the noisemap withrandom.seed(seed). - Smoothing can take some time depending on the size of the grid and the amount of smoothing to be done.
Metadata
Release files for Noisemap 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Noisemap-1.0.tar.gz | 1.9 kB | Without provenance | Details for Noisemap-1.0.tar.gz |
Release files / Noisemap-1.0.tar.gz
| Download URL | Noisemap-1.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cfc81dbce7d3bf054bc2e2750107ab46b66b00a08e077be5bc3a2f7924ce782
|
|
BLAKE2b-256 checksum How to use checksums |
6f5129196fbf3860c222836e1c338b5e0dfb9a14d639bb3d4928430e2712d851
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for Noisemap 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.