Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:RandomPointInCircle: Difference between revisions

From Resonite Wiki
Yosh (talk | contribs)
touchup
Yosh (talk | contribs)
might as well
Line 17: Line 17:
=== * ([[Type:float2|float2]]) ===
=== * ([[Type:float2|float2]]) ===


The random result.
A random point within the unit circle.


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

Revision as of 19:29, 15 April 2025

Random Point In Circle
*
Point

The Random Point In Circle node returns a random float2 value of a point within the bounds of a unit circle.

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 within the unit circle.