Skip to content

SKNoise | Perlin and Simplex fun!

Compare
Choose a tag to compare
@ReportCardsMC ReportCardsMC released this 22 Feb 23:14
· 77 commits to master since this release

This is the first release of the addon! It adds support for perlin and simplex noise alongside changing/getting seeds, and an average numbers expression.

My code is still messy since I am extremely new to Java, but I tried my best to make it with the best performance I can make it with.

Expressions

Perlin Noise (NEW)

Info This expression is an expression to get a noise value at a given x, y, and z. There is no changers to this.

Pattern [sknoise] perlin noise [at] [x ]%number%[,] [[y ]%number%[,] [[z ]%number%]]

Returns (Number) A number between -1 and 1

Simplex Noise (NEW)

Info This expression is an expression to get a noise value at a given x, y, and z. There is no changers to this.

Pattern [sknoise] simplex noise [at] [x ]%number%[,] [[y ]%number%[,] [[z ]%number%]]

Returns (Number) A number between -1 and 1

Seed (NEW)

Info The seed to the perlin generator or the simplex generator. Allows setting, adding, removing, and resetting

Pattern (perlin|simplex) [noise] seed

Returns (Number) The seed of the generator. (Perlin and Simplex are two separate seeds)*

Average (NEW)

Info Get's an average of the given numbers

Pattern (average|avg) of %numbers%

Returns (Number) Average of numbers