ProtoFlux:Random Point On Square: Difference between revisions

From Resonite Wiki
templ
Added category: ContinuouslyChanging nodes
 
Line 19: Line 19:


[[Category:ProtoFlux:Math:Random:Point]]
[[Category:ProtoFlux:Math:Random:Point]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 06:55, 27 May 2025

Random Point On Square
*
Point

The Random Point On Square node returns a random float2 value of a point on the edge of a unit square centered at [0; 0].

This node is a random node. Random nodes generate a new output every time they are accessed during an impulse chain, even if during the same frame. To reuse the same value for multiple impulse nodes, you must write the value to a Local, Store, or Data Model Store before operating on it.

Outputs

* (float2)

A random point on the edge of a unit square. This will be a float2 where one value is -0.5 or 0.5 and the other value is between -0.5 and 0.5.