Skip to main content

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

On window:

pip install super_simplex

On Linux:

pip3 install super_simplex

On Mac:

pip3 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,
    super_simplex.gen_permu(seed = 384714386)
)

print(noise[0])

Generate 2D noise value for 2 seed:

import super_simplex

noises = super_simplex.noise_2d(
    x = 0.1,
    y = 0.1,
    [
        super_simplex.gen_permu(seed = 384714386),
        super_simplex.gen_permu(seed = 983475466)
    ]
)

print(noise[0], noise[1])

Credits

All credit goes to Kurt Spencer for the original C# implementation.

Project details


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.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

super_simplex-1.0.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file super_simplex-1.0.0.tar.gz.

File metadata

  • Download URL: super_simplex-1.0.0.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

Hashes for super_simplex-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f3ca70a0dc4c3ff86849b464166b862dac597c99640559a8356d2105d89eeb04
MD5 0190708b79c6fa8b93679c572087d4e9
BLAKE2b-256 212a5851b6ae0ed26bae222dbbe6ac8e5453bd0d1afcafe4e049f20837ef3b5f

See more details on using hashes here.

File details

Details for the file super_simplex-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: super_simplex-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for super_simplex-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f049a34d17c98f7fde521b6adf2fe81a9ef9060670b4cea5189ca8609bb78b2
MD5 571f21f6d8add955ac536df886324cd6
BLAKE2b-256 00b000aeaeea4abb8bb5ea9d3fffecc559f0eab566197c593b9a44553d5faba1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page