Values · Value
Sine, cosine, tangent
Sine, cosine and tangent of an angle in degrees; or turn an angle into a direction (x, y) for a circle layout.
math.angles
In a flow
“Works out sine, cosine, tangent whenever a step wired to it needs the answer.”
30 degrees → 0.5, 0.866, 0.577
What it does
Sine, cosine and tangent of an angle in degrees; or turn an angle into a direction (x, y) for a circle layout. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 6 values later steps can use. Find it under Values in the palette.
When to use it
Use it when a step needs a value worked out first: sine, cosine and tangent of an angle in degrees; or turn an angle into a direction (x, y) for a circle layout.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Degrees Number
-
The angle.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 30.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
- Circle radius Number
-
For the point on a circle of this radius.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 1.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
Values it gives
- Sine Number
-
sin. e.g. 0.5
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Cosine Number
-
cos. e.g. 0.866025
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Tangent Number
-
tan (0 at the vertical). e.g. 0.57735
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Radians Number
-
The angle in radians. e.g. 0.523599
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Point x Number
-
Radius times cosine. e.g. 0.866025
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Point y Number
-
Radius times sine. e.g. 0.5
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more