processing/p5.js

noiseMode(SIMPLEX) add-on library

Open

#6152 aperta il 22 mag 2023

Vedi su GitHub
 (13 commenti) (1 reazione) (0 assegnatari)JavaScript (3178 fork)batch import
Area:MathFeature RequestHelp Wantedp5.js 2.0+

Metriche repository

Star
 (20.784 star)
Metriche merge PR
 (Merge medio 8g 13h) (45 PR mergiate in 30 g)

Descrizione

Topic

I think Simplex Noise would be a very good enhancement. It seems p5.js is not working on it. If you want to make sure that the previous projects don't break.

A fix for this may can be done like centering rectangles, I fell that it would be a good idea to have maybe a noiseMode(SIMPLEX) and noiseMode(PERLIN), this would allow a decision by the user, if they want Perlin Noise they could use noiseMode(PERLIN), or just leave it out (It could be the default for compatibility), or if they want to use (better) Simplex Noise they could use noiseMode(SIMPLEX).

Here are some reasons Simplex is better (Thanks ChatGPT):

  1. Improved computational efficiency.
  2. Higher quality and smoother results.
  3. Improved isotropy and higher-dimensional performance.
  4. Easier implementation and understanding.

Guida contributor