Difference between revisions of "Noise:setCellularJitter"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 9: Line 9:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Noise:setCellularJitter(cellularJitter)
 
Noise:setCellularJitter(cellularJitter)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 14:30, 13 July 2023

Available since: Gideros 2019.12
Class: Noise

Description

Sets the maximum distance a cellular point can move from its grid position.
Setting this high will make artifacts more common.
Default: 0.45

Noise:setCellularJitter(cellularJitter)

Parameters

cellularJitter: (number) decimal maximum distance