Skip to main content

PyPI version

Cairo Rand 64x61

A psuedrandom and procedural generation library using 64.61 fixed point math for Cairo

Usage

Install with pip install cairo_rand_64x61 and import and use with from cairo_rand_64x61.simplex import Simplex.

Signed 64.61 Fixed Point Numbers

This library is heavily dependend on 64.61 bit fixed point numbers. See https://github.com/influenceth/cairo-math-64x61 for more information.

Simplex Library

Simplex includes an implementation of a three-dimensional simplex noise based on the GLSL implementation found here: https://github.com/ashima/webgl-noise/blob/master/src/noise3D.glsl. It is tested against output of the GLSL library. Keep in mind that in many cases the GLSL implementation will be run on GPUs using medium precision which will lead to errors with large input values for x, y, z. This cairo library does NOT attempt to mimic this error (this error will also disappear if using high precision on GPU).

Extensibility

This library strives to adhere to the OpenZeppelin extensibility pattern: https://docs.openzeppelin.com/contracts-cairo/0.2.1/extensibility#libraries

Metadata

Release files for cairo-rand-64x61 2.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cairo-rand-64x61 2.5.1
File Size Uploaded
cairo_rand_64x61-2.5.1.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cairo-rand-64x61 2.5.1
File Interpreter ABI Platform
cairo_rand_64x61-2.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / cairo_rand_64x61-2.5.1.tar.gz

Download URL cairo_rand_64x61-2.5.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f72b44b8047f1edfacec41782f5a8302cc78f79e88bd6bb7cdd990e011779b68
BLAKE2b-256 checksum
How to use checksums
fd40110eca7d220b8333f7ffc6dcece0d83d257bdf2efad434756f7ff391313a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / cairo_rand_64x61-2.5.1-py3-none-any.whl

Download URL cairo_rand_64x61-2.5.1-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7c98c45f7825f387a23fa494502d184da6fd5edc408bc04b9dbb57cf1a0a280
BLAKE2b-256 checksum
How to use checksums
5b73be6521cc32133cfe5457a4b1d46d3328833cf8a710f7b01b2a605b699049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

2.5.1 This release

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page