noise3
noise3 x y z
Smooth noise of three coordinates, a float from -1 to 1, for shapes and textures. The same coordinates give the same value. The noise seed of the interpreter sets the pattern.
Examples
A click on an example runs it in the shell of the page.
expr {[noise3 0 0 0] == [noise3 0 0 0]}:1
Facts
- Capability: none.
- Compute cost: a few compute units.
Differences from Tcl 8.6
- Tcl has no
noise3.