open-simplex-noise
Version, currently 1.0.12 versions
- 1.0.1latestAug 10, 2017
- 1.0.0not indexedApr 15, 2020
github.com/doughsay/crystal-open-simplex-noise
2D, 3D, and 4D open simplex noise in crystal.
Installation
# Add this to your shard.yml
dependencies:
open-simplex-noise:
github: doughsay/crystal-open-simplex-noise
version: ~> 1.0.1Then run:
shards installshard.yml
- Crystal
0.23.1- License
- MIT
- Author
- Chris Dosé
Dependencies
Development Dependencies
- stumpy_png~> 4.1.1github: stumpycr/stumpy_pngdev
README
Open Simplex Noise
This is an implementation of 2D, 3D, and 4D open simplex noise in crystal.
Installation
Add this to your application's shard.yml:
dependencies:
open-simplex-noise:
github: doughsay/crystal-open-simplex-noise
version: "~> 1.0"
...
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
Examples
2D Noise:

3D Noise (2D slice):

4D Noise (2D slice):

Contributing
- Fork it ( https://github.com/doughsay/open-simplex-noise/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- doughsay Chris Dosé - creator, maintainer
Credits
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
- Aug 10, 2017
- Commit
ad62322bf710- Crystal
0.23.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/doughsay/crystal-open-simplex-noise
Metadata
- Created
- Oct 3, 2026
- Updated
- Nov 18, 2026
- Synced
- Nov 18, 2026
- Versions
- 2