Releases: Markyparky56/WasmNoise
Autoloader Fix, Ridged Multifractal Tweaks
Some very minor changes with this update.
There was a change to how WebAssembly.Memory is created, now requiring a new
, the autoloader has been updated to include this.
Also tweaked the autoloader so that it actually creates its own WasmNoise object if you don't create one first. Whoops. Included a .loaded
variable which you can check now, alongside the .onLoaded()
function.
It was found that FastNoise doesn't actually implement the Ridged Multifractal correctly, WasmNoise now implements the original algorithm.
Variadic Templates
Externally the same, though does contain a fix for 4D Noise Strips which didn't actually return the values array for the W-Axis.
Fractal Cellular Noise
Added fractal functions for Cellular Noise, these aren't actually available in FastNoise and offer a wide variety of options with the different Fractal Types combined with the different Cellular Return Types.
Cellular Noise
Cellular Noise in 2D and 3D
Note that this differs slightly from the FastNoise version when using the NoiseLookup return type. Unlike FastNoise where you pass in a pointer to another FastNoise class, WasmNoise evaluates the noise lookup internally. Currently NoiseLookupPerlin and NoiseLookupSimplex are available, more will likely be added as they are added to WasmNoise though CellularNoise will never be an option due to the obvious infinite loop that would create, these are non-fractal lookups and you can separately control the frequency for the noise lookup.
Simplex Noise
Simplex Noise functions in 2D, 3D and 4D as well as fractal variants.
The binary has grown a bit, which is why I've taken steps to enhance the build process to allow for removing unneeded sets of functions. Currently you can enable (or disable) the single octave perlin functions, the fractal perlin functions as well as the single octave simplex functions and the fractal simplex functions. Hopefully this will allow developers to tune the version of WasmNoise they use in their projects to suit their needs.
Fractal Functions
Now supporting Fractal 2D and 3D Perlin Noise.
Available fractals are Fractal Brownian Motion, Billow and Rigid Multifractal (though I think it's actually Ridged, may change that in the next update)
Functional, Stable, Milestone
WasmNoise is still a bit sparse, but supports both 2D and 3D Perlin noise.