# More Experiments with OpenSimplex

**URL:** <https://discourse.processing.org/t/more-experiments-with-opensimplex/28382>\
**Category:** Gallery\
**Created:** [March 10, 2021, 10:03am UTC](https://discourse.processing.org/t/more-experiments-with-opensimplex/28382 "2021-03-10T10:03:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![monkstone](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/monkstone/32/64_2.png) [@monkstone](https://discourse.processing.org/u/monkstone)\
**Post date:** [March 10, 2021, 10:03am UTC](https://discourse.processing.org/t/more-experiments-with-opensimplex/28382/1 "2021-03-10T10:03:02Z")

</div>

Previously @hamoid compared toxiclibs [SimplexNosie with processing ValueNoise](https://discourse.processing.org/t/perlin-vs-simplex-noise-performance/4189) (Perlin). Here I used his test to compare OpenSimplex (which I’m developing for ruby-processing) with this PiCrate sketch:-

```ruby
require 'picrate'
require 'toxiclibs'

class Hamoid < Processing::App
  ZOOM = 0.03

  def setup
    background(0)
    stroke(255, 50)
    noise_mode NoiseMode::OPEN_SMOOTH
  end

  def draw
    xx = rand(width)
    yy = rand(height)
    500.times do
      a = if xx < width / 2
            PI * noise(xx * ZOOM, yy * ZOOM)
          else
            PI * Toxi::SimplexNoise.noise(xx * ZOOM, yy * ZOOM)
          end
      xx += cos(a)
      yy += sin(a)
      point(xx, yy)
    end
  end

  def settings
    size(500, 500)
  end
end

Hamoid.new

```

Here’s the result with OpenSimplex2 on LHS

 ![hamoid](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/02a30ac526e67bc1b6d1af1527943a2924bab971.png)

What can be seen here is that both noise generators produce a similar pattern, however toxiclibs SimplexNoise shows a clear diagonal bias. There are options in [OpenSimplex2](https://github.com/KdotJPG/OpenSimplex2), and currently I am thinking of supporting the above classic Simplex as well as a version more suitable for terrain generation (with fast and smooth options for both) with a default as classic fast SimplexNoise.
