m the node |
Added suggestion note. |
||
(5 intermediate revisions by 4 users not shown) | |||
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 | |||
{{Note|If you need to use 2PI for calculations, instead of using the [[ProtoFlux:Mul|Mul]] or [[ProtoFlux:Add|Add]] nodes, you can use the [[ProtoFlux:Tau|Tau]] node to do the same thing, streamlining your ProtoFlux.|suggestion}} | |||
== Outputs == | == Outputs == | ||
=== * (float) === | === * ([[Type:Float|float]]) === | ||
The value of π, approximately <code>3.14159274</code>. | |||
== Further Reading == | |||
=== Videos === | |||
<youtube>S32sIhukA9E</youtube> | |||
[[Category:ProtoFlux:Math:Constants]] | [[Category:ProtoFlux:Math:Constants]] |
Latest revision as of 07:18, 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
.