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") |
||
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''' | ||
− | < | + | <syntaxhighlight lang="lua"> |
Noise:setCellularJitter(cellularJitter) | Noise:setCellularJitter(cellularJitter) | ||
</source> | </source> |
Revision as of 15:28, 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
<syntaxhighlight lang="lua">
Noise:setCellularJitter(cellularJitter)
</source>
Parameters
cellularJitter: (number) decimal maximum distance