Created a page for the Random Point On Square node. |
templ |
||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Random Point On Square | |Name=Random Point On Square | ||
Line 9: | Line 8: | ||
|}} | |}} | ||
The '''Random Point On Square''' node returns a random [[Type:float2|float2]] value of a point on a [https://en.wikipedia.org/wiki/Unit_square unit square] | The '''Random Point On Square''' node returns a random [[Type:float2|float2]] value of a point on the edge of a [https://en.wikipedia.org/wiki/Unit_square unit square] centered at <code>[0; 0]</code>. | ||
{{ | {{ProtoFluxRandomNodeWarning}} | ||
== Outputs == | == Outputs == | ||
Line 17: | Line 16: | ||
=== * ([[Type:float2|float2]]) === | === * ([[Type:float2|float2]]) === | ||
A random point on the edge of a unit square. This will be a float2 where one value is <code>-0.5</code> or <code>0.5</code> and the other value is between <code>-0.5</code> and <code>0.5</code>. | |||
[[Category:ProtoFlux:Math:Random:Point]] | [[Category:ProtoFlux:Math:Random:Point]] |
Revision as of 17:33, 14 April 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]
.
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
.