Opensimplex

Latest version: v0.4.5.1

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.2

For details, see 9 . Before this change, normalized values could return outside the range [0, 1).

Updating to this version will change normalized output; expect some differences if you're relying on repeatable results.

1.0.1

A typo made it hard to target v1.0.0 as a Go module. No code changes.

1.0.0

This release is the first API-breaking change to opensimplex-go. It includes newly contributed normalized noise options, and replaces the Noise struct with an interface, to make room for future options like fractal noise.

New noise options
--------------------
`Noise32`: A noise interface that takes `float32` values as inputs and returns a `float32`.

`New32(seed)`: Same data as `New()`, but cast to `float32`
`NewNormalized(seed)`: Eval methods return a `float64` in [0, 1).
`NewNormalized32(seed)`: Eval methods return a `float32` in [0, 1).

Updating
----------

Replace `NewWithSeed(seed)` with `New(seed)`.
Replace `New()` with `New(0)`.
The `NewWithPerm` function has been removed; please open an issue if you want this back.

0.4

This version has been tested with Python 3.7, 3.8, 3.9 on Linux, MacOS and Windows.


Updates:

- Adds a hard dependency on `Numpy`, for array optimizations aimed at heavier workloads (thus closing Numba/Numpy version 4).
- Adds optional dependency on `Numba`, for further speed optimizations using caching.
- General refactor and cleanup of the library and tests.
- **Breaking changes: API function names has been modified.**

0.3

- Fixed windows bug (7, thanks PetyaVasya)

- Dropped older, unsupported python versions
- Cleaned up docs and tooling
- Running automatic tests on Github Actions

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.