Platform
Resources
Pricing
Sign in
Get started
OpenHPS
Open-source Hybrid Positioning System
Workspace
Fork
Published unlisted
By
OpenHPS
Edited
Jul 31, 2021
Apache 2.0
Insert cell
Insert cell
core
=
require
(
"https://cdn.jsdelivr.net/npm/@openhps/core@0.3.0-alpha.68"
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
orientation1
=
new
core
.
Orientation
(
0
,
0
,
0
,
1
)
;
Insert cell
Insert cell
orientation3
=
core
.
Orientation
.
fromEuler
(
[
0.7
,
0
,
0.7
]
)
Insert cell
orientation4
=
core
.
Orientation
.
fromEuler
(
{
x
:
45
,
y
:
0
,
z
:
90
,
order
:
"XYZ"
,
unit
:
core
.
AngleUnit
.
DEGREE
}
)
Insert cell
orientation5
=
core
.
Orientation
.
fromEuler
(
new
core
.
Euler
(
45
,
0
,
90
,
"XYZ"
,
core
.
AngleUnit
.
DEGREE
)
)
Insert cell
Insert cell
orientation6
=
core
.
Orientation
.
fromAxisAngle
(
[
0.7
,
0
,
0.7
]
)
Insert cell
orientation7
=
core
.
Orientation
.
fromAxisAngle
(
{
x
:
45
,
y
:
0
,
z
:
90
,
unit
:
core
.
AngleUnit
.
DEGREE
}
)
Insert cell
Insert cell
orientation8
=
core
.
Orientation
.
fromAxisAngle
(
new
core
.
AxisAngle
(
45
,
0
,
90
,
null
,
core
.
AngleUnit
.
DEGREE
)
)
Insert cell
Insert cell
Insert cell
orientation8
.
toRotationMatrix
(
)
Insert cell
Insert cell
orientation5
.
toEuler
(
)
Insert cell
Insert cell
orientation5
.
toEuler
(
'ZXY'
)
Insert cell
orientation5
.
toEuler
(
)
.
toVector
(
core
.
AngleUnit
.
DEGREE
)
Insert cell
Insert cell
orientation6
.
toAxisAngle
(
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
core
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
orientation1
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
orientation3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
orientation4
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
orientation5
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
orientation6
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
orientation7
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
orientation8
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML