DescriptionThis enables efficient access to a 1D, 2D, or 3D infinite space of Perlin Noise by calling NOISE(X,Y,Z).InstructionsYou can grab a value at any position, at any given point in time.
This makes procedural world generation very easy to comprehend and implement, for an infinitely spanning map.
To use this, you simply type
DIM _P INITNOISE
In the beginning of the program, and place the DEF NOISE code anywhere else in the program.
NOISE(X,Y,Z) will always return a value between 0 and 1.
Included are 8 sample programs to show how it works.
Say you only want to use 1D noise for a 2D map like terraria, then you would just do Y=NOISE(X/10,0,0) where 10 can be any value to define how zoomed out the map will be.