ProtoFlux:Simplex: Difference between revisions

From Resonite Wiki
Created a page for the Simplex node.
 
correct info about simplex, add 4d noise
 
Line 38: Line 38:
|}}
|}}


The '''Simplex''' set of nodes takes in a position and returns a [[Type:float|float]] noise value. There is no rhyme or reason as it is pure random noise.
{{#Invoke:ProtoFlux|GenerateUI
|Name=Simplex 4D
|Category=Random
|Inputs=
[
{"Name":"Position", "Type":"float4"}
]
|Outputs=
[
{"Name":"*", "Type":"float"}
]
|}}


{{Note|This node constantly changes its value every frame, if you want to use this value, make sure to either [[ProtoFlux:Write|Write]] to a [[ProtoFlux:Data Model Store|Variable]] or use it within that frame.|warning}}
The '''Simplex''' set of nodes takes in a position (between 1 and 4 dimensions) and returns a [[Type:float|float]] noise value. It uses the simplex noise algorithm (similar to Perlin noise), which means that changing the position smoothly will result in a smooth change in the output. Unlike other nodes in the /Math/Random category, Simplex nodes are deterministic, so each position will always result in the same value.


== Inputs ==
== Inputs ==


=== Position ([[Type:float|float]] or [[Type:float2|float2]] or [[Type:float3|float3]]) ===  
=== Position ([[Type:float|float]] or [[Type:float2|float2]] or [[Type:float3|float3]] or [[Type:float4|float4]]) ===  


The value used to generate a simplex noise.
The value used to generate a simplex noise.

Latest revision as of 22:17, 23 September 2025

Simplex 1D
Position
*
Random
Simplex 2D
Position
*
Random
Simplex 3D
Position
*
Random
Simplex 4D
Position
*
Random

The Simplex set of nodes takes in a position (between 1 and 4 dimensions) and returns a float noise value. It uses the simplex noise algorithm (similar to Perlin noise), which means that changing the position smoothly will result in a smooth change in the output. Unlike other nodes in the /Math/Random category, Simplex nodes are deterministic, so each position will always result in the same value.

Inputs

Position (float or float2 or float3 or float4)

The value used to generate a simplex noise.

Outputs

* (float)

The random noise result.

See Also