ProtoFlux:Pi: Difference between revisions

From Resonite Wiki
Remove empty inputs and other small edits
Added applications this can be used in. Added in the Further Reading section.
Line 4: Line 4:
|Outputs=
|Outputs=
[
[
{"Name":"", "Type":"float"}
{"Name":"*", "Type":"float"}
]
]
|}}
|}}


The '''Pi''' node outputs the mathematical constant [https://en.wikipedia.org/wiki/Pi π].
The '''Pi''' node outputs the mathematical constant [https://en.wikipedia.org/wiki/Pi π].
Applications this can be used in:
* Geometry and Circle Calculations
* Rotations and Angle Calculations
* Wave Generation (combined with [[ProtoFlux:Sin|Sin]])
* Physics Simulations (especially when dealing with circular motion, pendulum movements, or orbital mechanics)
* Procedural Generation (especially curves)
* Lighting and Shading (used in lighting models to calculate angles and intensities of light, reflections, and refractions)
* Animation Curves


== Outputs ==
== Outputs ==
Line 14: Line 23:
=== * ([[Type:Float|float]]) ===
=== * ([[Type:Float|float]]) ===
The value of π, approximately <code>3.14159274</code>.
The value of π, approximately <code>3.14159274</code>.
== Further Reading ==
=== Videos ===
<youtube>S32sIhukA9E</youtube>


[[Category:ProtoFlux:Math:Constants]]
[[Category:ProtoFlux:Math:Constants]]

Revision as of 07:14, 30 June 2024

π
*
Constants

The Pi node outputs the mathematical constant π.

Applications this can be used in:

  • Geometry and Circle Calculations
  • Rotations and Angle Calculations
  • Wave Generation (combined with Sin)
  • Physics Simulations (especially when dealing with circular motion, pendulum movements, or orbital mechanics)
  • Procedural Generation (especially curves)
  • Lighting and Shading (used in lighting models to calculate angles and intensities of light, reflections, and refractions)
  • Animation Curves

Outputs

* (float)

The value of π, approximately 3.14159274.

Further Reading

Videos