/v1/slerp
Spherical interpolation
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/quaternion-api/v1/slerp" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/quaternion-api/v1/slerp", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/quaternion-api/v1/slerp");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/quaternion-api/v1/slerp",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"t": 0.5,
"matrix": [
[
0.707106781187,
-0.707106781187,
0
],
[
0.707106781187,
0.707106781187,
0
],
[
0,
0,
1
]
],
"axis_angle": {
"axis": [
0,
0,
1
],
"angle_deg": 45
},
"quaternion": {
"w": 0.923879532511,
"x": 0,
"y": 0,
"z": 0.382683432365
},
"euler_zyx_deg": {
"yaw_deg": 45,
"roll_deg": 0,
"pitch_deg": 0
}
},
"meta": {
"timestamp": "2026-06-03T17:42:16.157Z",
"request_id": "6778bf06-b0cb-48c6-a65d-2cc41314a715"
},
"status": "ok",
"message": "Slerp",
"success": true
}