Difference between revisions of "Noise:setCellularJitter"

From GiderosMobile
(Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === S...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
Setting this high will make artifacts more common.<br/>
 
Setting this high will make artifacts more common.<br/>
 
Default: '''0.45'''
 
Default: '''0.45'''
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Noise:setCellularJitter(cellularJitter)
 
Noise:setCellularJitter(cellularJitter)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 15: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