Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
PerlinNoise
Inherits
Reference
<
Object
Constants
VERSION = "0.1.0"
Constructors
new
(seed :
Int32
= 1)
Source
Instance methods
int
(x :
Int
, y :
Int
, z :
Int
, min :
Int
, max :
Int
, a_seed :
Float32
= 1.0_f32) :
Int
Source
int
(x :
Int
, min :
Int
, max :
Int
, a_seed :
Float32
= 1.0_f32) :
Int
Source
int
(x :
Int
, y :
Int
, min :
Int
, max :
Int
, a_seed :
Float32
= 1.0_f32) :
Int
Source
item
(x :
Int
, y :
Int
, z :
Int
, array :
Indexable
(
T
), a_seed :
Float32
= 1.0_f32) :
T
forall
T
Source
item
(x :
Int
, array :
Indexable
(
T
), a_seed :
Float32
= 1.0_f32) :
T
forall
T
Source
item
(x :
Int
, y :
Int
, array :
Indexable
(
T
), a_seed :
Float32
= 1.0_f32) :
T
forall
T
Source
noise
(x :
Int
, y :
Int
, z :
Int
, a_seed :
Float32
= 1.0_f32) :
Float32
Source
noise
(x :
Int
, a_seed :
Float32
= 1.0_f32) :
Float32
Source
noise
(x :
Int
, y :
Int
, a_seed :
Float32
= 1.0_f32) :
Float32
Source
normalize_noise
(x, y, z, a_seed = 1.0_f32)
Source
octave
Source
octave=
(octave :
Float32
)
Source
persistance
Source
persistance=
(persistance :
Float32
)
Source
prng_int
(x :
Int
, y :
Int
, z :
Int
, min :
Int
, max :
Int
, a_seed :
Float32
= 1.0_f32) :
Int
Source
prng_int
(x :
Int
, min :
Int
, max :
Int
, a_seed :
Float32
= 1.0_f32) :
Int
Source
prng_int
(x :
Int
, y :
Int
, min :
Int
, max :
Int
, a_seed :
Float32
= 1.0_f32) :
Int
Source
prng_item
(x :
Int
, y :
Int
, z :
Int
, array :
Indexable
(
T
), a_seed :
Float32
= 1.0_f32) :
T
forall
T
Source
prng_item
(x :
Int
, array :
Indexable
(
T
), a_seed :
Float32
= 1.0_f32) :
T
forall
T
Source
prng_item
(x :
Int
, y :
Int
, array :
Indexable
(
T
), a_seed :
Float32
= 1.0_f32) :
T
forall
T
Source
seed
Source
step
Source
step=
(step :
Float32
)
Source
x_offset
Source
x_offset=
(x_offset :
Float32
)
Source
y_offset
Source
y_offset=
(y_offset :
Float32
)
Source
z_offset
Source
z_offset=
(z_offset :
Float32
)
Source