Motion kit command

keyframe.wiggle

Wiggler

Wiggler: adds random keyframes between two selected keys on a property: `frequency` keys per second (5), `magnitude` in property units, `noise` smooth or jagged, `dimensions` one/same/independent, `seed` for repeatability.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
yes

Parameters

Parameters of keyframe.wiggle
NameTypeRequiredDescription
apply"spatial" | "temporal"no
dimensionintegernoindex for `one`
dimensions"one" | "same" | "independent"no
frequencynumbernokeys/s, 5
magnitudenumberno
noise"smooth" | "jagged"no
qualitystringnoread by the command beside its listed parameters
seedintegerno
tolerancenumbernoread by the command beside its listed parameters

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "keyframe.wiggle" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: apply, dimension, dimensions, frequency, magnitude, noise, quality, seed, tolerance. motion_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "apply": {
      "enum": [
        "spatial",
        "temporal"
      ],
      "type": "string"
    },
    "dimension": {
      "description": "index for `one`",
      "type": "integer"
    },
    "dimensions": {
      "enum": [
        "one",
        "same",
        "independent"
      ],
      "type": "string"
    },
    "frequency": {
      "description": "keys/s, 5",
      "type": "number"
    },
    "magnitude": {
      "type": "number"
    },
    "noise": {
      "enum": [
        "smooth",
        "jagged"
      ],
      "type": "string"
    },
    "quality": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "seed": {
      "type": "integer"
    },
    "tolerance": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.