bhabishnu

Results comments of bhabishnu

Hi! I went through the updated scope for this issue and saw that the current direction is a Simplex noise add-on exposing noiseMode(SIMPLEX), compatible with both p5.js 1.x and 2.x,...

Thanks! That makes sense. I’ll start with a standalone add-on targeting both 1.x and 2.x and keep updates here as I work through it. I’ll reach out if I have...

quick scope question before i start implementing: when noiseMode(SIMPLEX) is active, should the existing noiseSeed() and noiseDetail() APIs apply to simplex noise too? also for p5 2.x, should the add-on...

sounds good, thanks! i’ll start with the CPU side stuff for now and leave strands alone. i’ll try to make noiseSeed() and noiseDetail() work with simplex too.

quick update! i’ve got the standalone addon working now and have tested it with p5.js 1.11.13, 2.0.0 and 2.3.0. it’s covering 1D/2D/3D simplex noise, global + instance mode, `noiseSeed()`, reloads,...

building on @harshiltewari2004's option 2, i don't think the `1e21` case actually rules out `Number.isInteger`: `Number.isInteger(v) ? v.toFixed(1) : String(v)` avoids inspecting the string, since `toFixed()` already switches to exponent...

Yep, happy to! I’ll work on the fix + regression test and open a PR once it’s ready.

hey! I’ve already been looking into this one and was planning to take it forward. just waiting on maintainer guidance before starting the fix

thanks! I’ll cover all three cases and add regression tests for each

In the [public SDF source](https://github.com/davepagurek/p5.sdf/blob/4e72328fcc88c1b63cb469aefa63cf7e148e2859/p5.sdf.js#L162-L167), `pop()` restores settings but keeps the accumulated shape result. For shared push/pop, should addons mark which fields to restore, or provide save/restore functions? For example,...