Skip to content
HALOWERK

Spacewerk

space attitude quaternion compose

Compose supplied active rotation quaternions and rotate one declared three-dimensional vector.

POST https://space.halowerk.com/v1/space-attitude-quaternion-compose

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
rotationsarrayYes
vectorarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "rotations": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1,
          "maximum": 1
        },
        "maxItems": 4,
        "minItems": 4
      },
      "maxItems": 30,
      "minItems": 1
    },
    "vector": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": -1000000000,
        "maximum": 1000000000
      },
      "maxItems": 3,
      "minItems": 3
    }
  },
  "required": [
    "rotations",
    "vector"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "rotations": [
    [
      0.7071067811865476,
      0,
      0,
      0.7071067811865476
    ]
  ],
  "vector": [
    1,
    0,
    0
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub →