Difference between revisions of "Noise.new"

From GiderosMobile
(removed language stuff)
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Creates a new noise object.
 
Creates a new noise object.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Noise.new(seed)
 
Noise.new(seed)
 
</source>
 
</source>

Revision as of 15:28, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Creates a new noise object. <syntaxhighlight lang="lua"> Noise.new(seed) </source>

Default seed value: 1337

Parameters

seed: (number) seed value optional