open-simplex-noise
Version, currently 1.0.13 versions
- 1.1.0latestApr 16, 2020
- 1.0.1not indexedApr 16, 2020
- 1.0.0not indexedApr 16, 2020
github.com/j8r/crystal-open-simplex-noise
2D, 3D, and 4D open simplex noise in crystal.
Nothing has been indexed for 1.0.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
open-simplex-noise:
github: j8r/crystal-open-simplex-noise
version: ~> 1.0.1Then run:
shards installshard.yml
No shard.yml has been indexed for 1.0.1. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
Open Simplex Noise
This is an implementation of 2D, 3D, and 4D open simplex noise in crystal.
Original work by doughsay.
Installation
Add this to your application's shard.yml:
dependencies:
open-simplex-noise:
github: j8r/crystal-open-simplex-noise
Usage
require "open-simplex-noise"
Instantiate a noise generator using an Int64 seed:
noise = OpenSimplexNoise.new(12345_i64)
Use the generate method, passing in either 2, 3, or 4 Float64s to generate noise:
noise.generate(1.0, 2.0) #=> -0.08284024020120388
Documentation
https://j8r.github.io/crystal-open-simplex-noise
Examples
2D Noise:

3D Noise (2D slice):

4D Noise (2D slice):

Credits
doughsay Chris Dosé - original creator
This is mostly just a transliteration of the Python version from here: https://github.com/lmas/opensimplex, which itself is a transliteration of Kurt Spencer's original code (released to the public domain).
License
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.0.1- Tagged
- Apr 16, 2020
- Commit
ad62322bf710- Indexed
- not yet
Dependents
Repository
github.com/j8r/crystal-open-simplex-noise
Metadata
- Created
- Aug 19, 2026
- Updated
- Nov 12, 2026
- Synced
- Nov 12, 2026
- Versions
- 3