processing/p5.js

noiseMode(SIMPLEX) add-on library

Open

#6,152 opened on 2023年5月22日

GitHub で見る
 (13 comments) (1 reaction) (0 assignees)JavaScript (3,178 forks)batch import
Area:MathFeature RequestHelp Wantedp5.js 2.0+

Repository metrics

Stars
 (20,784 stars)
PR merge metrics
 (平均マージ 8d 13h) (30d で 45 merged PRs)

説明

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.

コントリビューターガイド