UNPKG
@popmotion/popcorn
Version:
beta (0.4.1-rc2)
latest (0.4.4)
0.4.4
0.4.3
0.4.2
0.4.1
0.4.1-rc2
0.4.1-rc
0.4.0
0.3.9
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
Utility functions for animation and interactions.
github.com/Popmotion/popmotion
Popmotion/popmotion
@popmotion/popcorn
/
lib
/
utils
/
point-from-vector.d.ts
7 lines
(6 loc)
•
180 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Point2D
}
from
'../types'
;
declare
const
_default
:
(
origin
:
Point2D
,
angle
:
number
,
distance
:
number
) =>
{
x
:
number
;
y
:
number
; };
export
default
_default;