processing/p5.js

noiseMode(SIMPLEX) add-on library

Open

#6,152 建立於 2023年5月22日

在 GitHub 查看
 (13 留言) (1 反應) (0 負責人)JavaScript (3,178 fork)batch import
Area:MathFeature RequestHelp Wantedp5.js 2.0+

倉庫指標

Star
 (20,784 star)
PR 合併指標
 (平均合併 8天 13小時) (30 天內合併 45 個 PR)

描述

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.

貢獻者指南