Noise:setFractalOctaves: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 4: Line 4:


=== Description ===
=== Description ===
The amount of noise layers used to create the fractal. Used in all Fractal Noise generation. Default: 3.
The amount of noise layers used to create the fractal. Used in all Fractal Noise generation. Default = 3.
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
Noise:setFractalOctaves(octaves)
Noise:setFractalOctaves(octaves)

Revision as of 15:14, 28 July 2025

Available since: Gideros 2019.12
Class: Noise

Description

The amount of noise layers used to create the fractal. Used in all Fractal Noise generation. Default = 3.

Noise:setFractalOctaves(octaves)

Note: seems to be good in range [1...16]

Parameters

octaves: (number) integer amount of layers

Template:Noise