Description Usage Arguments Value Examples
Transform a position by orbiting around an origin
1 | orbit_transform(x1, y1, x2, y2, theta, return = "both")
|
x1 |
x position of point to be transformed |
y1 |
y position of point to be transformed |
x2 |
x position of origin |
y2 |
y position of origin |
theta |
Angle in radians |
return |
a string specifying whether to return "x", "y" or "both" |
numeric
1 | orbit_transform(3,2,0,1,pi/4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.