# Kineto documentation > Kineto is an iPad app for creating interactive vector animations. Kineto 1.1.0 is listed on the App Store for iPad. The editor is free to download and create with, and Kineto Pro unlocks movie and runtime exports. The Flutter runtime is published on pub.dev as a pre-release; Swift and standalone web integration remain source-first. Runtime APIs may change. # Welcome to Kineto Source: https://kineto.keyvotion.com/docs/ Kineto is an iPad animation editor for creating interactive vector animations. The workflow is **Create → Animate → Interact → Ship**. Every part of the product is built around this loop, from the first shape on the canvas to a runtime-ready file playing inside an app. > Note: Kineto is listed on the App Store for iPad. These docs may reflect earlier editor builds, so names and steps can differ. ## Where to start Choose a path based on what you want to do. - [Start animating](/docs/quick-start/): Create your first animation in 5–10 minutes. Covers shapes, keyframes and preview. - [Embed in your app](/docs/export/): Understand `.kvk`, the runtime and how to drive animation from your app or web page. ## What Kineto is Kineto is an iPad-first tool designed around touch, Apple Pencil and direct manipulation. It is not a generic vector editor: the vector tools exist to support animation. - Draw or import SVG artwork directly on the canvas - Animate with timelines, keyframes and named clips - Rig characters with bones and inverse kinematics - Add interaction logic with state machines - Reuse artwork with components, and turn characters with pose drivers - Export video and GIF to share - Export to `.kvk` and use it in your iOS app or on the web ## What Kineto is not Before going further, read the [Known Limitations](/docs/limitations/) page. It sets out what Kineto does not do yet, and knowing the scope saves time. # Quick Start Source: https://kineto.keyvotion.com/docs/quick-start/ Make one circle move across the canvas in one second. Every value below is fixed, so your result should match the screenshots exactly. ## What you will make | Item | Value | |---|---| | Canvas | 1920 × 1080 (**HD 16:9**) | | Circle | 200 × 200 px, X 300, Y 440 | | Clip length | 1 second | | Start of the motion | Position X 300 at 0 seconds | | End of the motion | Position X 1420 at 1 second | X and Y are the top-left corner of the shape's bounding box. Y 440 centers this circle vertically. X 1420 leaves the same 300 px margin on the right as on the left. ## 1. Create the project On the home screen, under **Start something**, tap **HD 16:9**. **Result:** an empty **Artboard 1** opens in the **Design** tab. `Untitled.kvkproj` is at the top left, with **Not saved** under it. ## 2. Draw the circle 1. In the tool rail on the left edge, tap the small arrow in the corner of the **Shape** button. You can also touch and hold the button. 2. Choose **Ellipse**. 3. Drag on the artboard. Screenshot: A new empty 1920 by 1080 artboard in the Design tab. The Shape menu in the left tool rail is open and lists Rectangle, Ellipse and Polygon. **Result:** a selected ellipse with a fill. A new shape uses the color in the swatch at the top of the rail on the right edge. The size doesn't matter yet. ## 3. Set the exact size and position 1. In the rail on the right edge, tap **Properties**, the icon with two sliders. 2. Under **Transform**, tap each field, type the value and confirm: | Field | Value | |---|---| | **W** | `200` | | **H** | `200` | | **X** | `300` | | **Y** | `440` | Screenshot: The Design tab with a violet circle selected on the left of the artboard. The Properties panel shows X 300, Y 440, W 200 and H 200. ## 4. Create the clip 1. At the top of the screen, tap **Animate**. 2. The timeline shows **No animation yet**. Tap **Create animation**. Screenshot: The Animate tab before any animation exists. Below the canvas, the timeline shows No animation yet with a Create animation button. **Result:** a clip named `Animation 1`, 2 seconds long at 60 FPS. The playhead is at `00:00:00`. ## 5. Make the clip one second long 1. Tap **Duration 2.0s**, to the left of the playback buttons. 2. Type `1`. 3. Tap **Set Duration**. **Result:** the button reads **Duration 1.0s**. ## 6. Add the keyframes 1. If the circle isn't selected, tap it. 2. Tap **Jump to end**, the last of the playback buttons. The time reads `00:01:00`. 3. If the **Properties** panel is closed, tap its icon in the right rail. 4. Set **Position X** to `1420` and confirm. **Result:** the circle moves to the right, and the timeline has a **Position X** row with two diamonds: - 0 seconds: 300, the value from step 3 - 1 second: 1420 Screenshot: The Animate tab with the playhead at one second. The Properties panel shows Position X 1420 with a highlighted diamond, and the timeline has a Position X row with diamonds at 0 and 1 second. You only made one edit, but you have two keyframes. Auto-Key added the start keyframe for you. ### When Kineto creates keyframes **Auto-Key** is the button at the right of the playback bar. It turns on each time you enter the **Animate** tab, and you can tap it to turn it off. | What you do | Auto-Key | Result | |---|---|---| | Change a value that has no keyframes, with the playhead after 0 | On | Two keyframes: the old value at 0 and the new value at the playhead | | Change a value that has no keyframes, with the playhead at 0 | On | One keyframe at 0. The value doesn't change over time yet | | Change a value that already has keyframes | On | One keyframe at the playhead. An existing keyframe there is updated | | Change a value with a keyframe at the playhead | Off | That keyframe is updated | | Change a value with no keyframe at the playhead | Off | Nothing is recorded. Kineto shows **Auto-Key is off** | | Tap the diamond next to a property | On or off | Adds a keyframe with the current value at the playhead, without a start keyframe. If one is already there, the tap removes it | These rules apply to the fields in **Properties** and to moving the object on the canvas. Keyframes don't change the shape's values in the **Design** tab. ## 7. Preview 1. Tap **Stop**, the first of the playback buttons. The playhead returns to `00:00:00`. 2. Tap **Play**. **Result:** the circle moves from left to right at a constant speed in one second, then stops. To check any moment by hand, drag the playhead. ## 8. Save 1. Tap the file name at the top left. 2. Tap **Save As…**. **Save** stays unavailable until the project has a location. 3. For **Filename**, enter `First Animation`, then tap **Save**. 4. Choose a location in the file picker. **Result:** the file name changes to `First Animation.kvkproj`. After this, use **Save** in the same menu. Screenshot: The file menu open from the file name at the top left. It lists New Document, Open, Save, Save As, Import SVG or Image, Export .kvk, Kineto Pro and Close Document. You can also share the result: open **Export** in the right rail of the **Animate** tab and choose a video or GIF format. A `.kvk` runtime file needs a state machine and comes from the **Logic** tab. See [Export Overview](/docs/export/). ## Common mistakes ### Position X has only one diamond You changed the value with the playhead at 0, or you tapped the diamond. Tap **Undo**, tap **Jump to end** and set **Position X** again. ### Kineto shows "Auto-Key is off" Tap **Auto-Key** in the playback bar to turn it on, then change the value again. ### I can't see the whole artboard The timeline can cover the lower part of the canvas. Pinch to zoom out. ### The circle doesn't start at the left You may have typed the start value in the **Animate** tab with the playhead after 0. Tap **Stop** and check that **Position X** reads `300`. ## What to learn next - [First Animation Tutorial](/tutorials/first-animation/): add scale, easing and a clip name to this project - [Timeline Guide](/docs/timeline/): clips, easing and timing - [Importing SVG](/docs/svg-import/): bring in your own artwork # Interface Overview Source: https://kineto.keyvotion.com/docs/interface/ Kineto's interface is built around direct manipulation on iPad. The editor has three workspaces and keeps its tools along the edges of the canvas. Screenshot: The Kineto editor in the Design tab. A filled violet circle is selected on Artboard 1, the tool rail runs down the left edge and the inspector shows its transform properties on the right. ## Workspaces The tabs at the top of the editor switch between workspaces. - **Design:** draw and arrange artwork. - **Animate:** add keyframes and tune timing on the timeline. - **Logic:** build state machines from your clips and test them. ## Main areas ### Canvas The canvas is the primary workspace. Draw shapes, import SVG artwork and position objects on the artboard here. ### Tool rail The tool rail runs along the left edge. It holds the selection, node, shape, pen, pencil and text tools, along with tools for artboards, images, gradients and bones. ### Inspector The inspector sits on the right and shows the properties of the current selection, such as position, size, rotation, opacity, anchor, corner and fill. Open it from the rail on the right edge. ### Scene The Scene panel shows the object hierarchy. Rename layers here before animating: clear names make timelines and state machines easier to understand. Open it from the rail on the right edge. ### Timeline In the Animate tab, the timeline opens below the canvas. It shows the tracks and keyframes of the current clip. Drag the playhead to scrub through time, or press play to preview the motion. ### Command Controller The round button in the lower right of the canvas gives you quick actions for the current tool, such as constraining a shape to a square. See [Command Controller](/docs/command-controller/). ## Export Open **Export** in the rail on the right edge. The options follow the tab you are in: still images in Design, video and GIF in Animate, and the `.kvk` runtime package in Logic. See [Export Overview](/docs/export/). ## File menu The menu next to the document name holds **New Document**, **Open…**, **Save**, **Save As…** and **Import SVG…** ## Apple Pencil Use Apple Pencil to draw on the canvas with the pen and pencil tools. # Command Controller Source: https://kineto.keyvotion.com/docs/command-controller/ The Command Controller is the round floating button in the lower right of the canvas. It gives you quick actions that would be modifier keys on a keyboard, such as constraining a shape to a square or adding to a selection. Screenshot: The Command Controller opened in the lower right of the canvas: a round hub with four quick action buttons around it for Shift, Command, Option and Control. ## How it works 1. Tap the hub to show the quick actions for the current tool. 2. Tap an action to turn it on. The set closes and only the active action stays visible. 3. Do your edit. The action stays on until you turn it off. 4. Tap the active action or the hub to turn it off. The action also turns off when you switch tools. Press and hold an action to see what it does. The controller only appears when the active tool has quick actions. Drag the hub to move it out of the way. It always stays inside the canvas and moves aside for open panels and the timeline. ## Quick actions per tool | Tool | Actions | | --- | --- | | **Select** | Constrain, Add to selection, Free resize, Detach bone | | **Node** | Constrain, Multi-select, Break handles | | **Rectangle, Polygon** | Square | | **Ellipse** | Circle | | **Pen** | Angle lock | | **Bone** | Snap angle | | **Bone transform** | Snap 15°, Detach bone | | **Gradient** | Snap 45° | With a hardware keyboard, Shift, Command, Option and Control do the same. ## Use a second finger You don't always need the controller. While you drag with Apple Pencil or one finger: - **Rest a finger on the canvas** to constrain the edit, as Shift does. **Constrain** appears at the top of the canvas, and lifting the finger releases it. - **Move two fingers** to pan, pinch or rotate the canvas. **Edit paused** appears, and your edit continues when you lift them. If you start with a finger instead of Apple Pencil, drag for a moment before adding the second finger. Otherwise Kineto treats it as a normal pinch. # Importing SVG Source: https://kineto.keyvotion.com/docs/svg-import/ SVG import lets you bring existing vector artwork into Kineto and turn it into motion-ready animation. After import, the main task is to check structure, hierarchy, pivots, and naming. > Warning: SVG import is an artwork starting point, not a guarantee of perfect visual parity. Check [Known Limitations](/docs/limitations/) before rebuilding complex assets. ## 1. Prepare the SVG Before importing, make the file animation-friendly: - Use clear groups and layer names - Remove unnecessary hidden layers - Simplify overly complex paths - Convert unsupported effects where possible - Keep animated parts separate from decorative elements Good SVGs are easier to animate when the parts that need to move are already isolated. ## 2. Import the file These steps use Cody, the bear on the Kineto homepage, as an example. 1. Open a Kineto project. 2. On an empty artboard, tap **Import SVG or Image**. You can also choose **File ▸ Import SVG…** at any time. Screenshot: An empty artboard with the buttons Draw a shape and Import SVG or Image in the middle. 3. In the file browser, go to the folder that holds your SVG and tap the file. Screenshot: The system file browser on top of the editor, with Recents, iCloud Drive and On My iPad in its sidebar. Screenshot: A folder named Examples in the Files app, with one file: Cody. 4. Check the **Import SVG** dialog. It shows how many objects the file holds and any warnings. If the file has a page background, you can choose to include it. 5. Tap **Import**. Screenshot: The Import SVG dialog for Cody.svg, showing 165 objects, the label Ready to import and the buttons Cancel and Import. 6. Save the project after import. ## 3. Inspect the hierarchy After import, open the Scene panel. Check: - Are important objects separate? - Are groups named clearly? - Are there unexpected flattened layers? - Are decorative elements separated from animated elements? Screenshot: Cody the bear on the artboard after import, with the Scene panel on the right showing his nested groups, such as Cody, ear left and Path. > Tip: Rename important layers before animating. Clear names make timelines, bones, and state machines easier to understand later. ## 4. Set pivots and transforms Animation often depends on correct pivots: - A wheel should rotate from its center - An arm should rotate from the shoulder - A door should rotate from its hinge - A character head should rotate from the neck area Adjust pivots **before** creating keyframes. ## 5. Test a small animation Before animating the full artwork, test one simple part: 1. Select one imported object. 2. Add a position, rotation, or scale keyframe. 3. Move the playhead. 4. Change the object. 5. Preview the motion. This confirms that the imported structure is usable before you invest more time. ## Common issues ### The artwork looks different The SVG may use unsupported effects, filters, masks, or text behavior. See [Known Limitations](/docs/limitations/). ### Everything imports as one object The original SVG was likely flattened. Return to the source file and separate the parts that need to animate independently. ### Rotation looks wrong Check the pivot point before adjusting keyframes. ### The file is slow to edit Simplify complex paths or remove invisible elements. ## Best practices - Keep moving parts separate - Name layers for animation, not just design - Set pivots before keyframes - Test one animated part before animating the whole asset # Timeline Guide Source: https://kineto.keyvotion.com/docs/timeline/ The timeline controls how an object changes over time. It is where static artwork becomes motion. ## What the timeline does Animation in Kineto follows a consistent loop: 1. Select an object 2. Choose a time 3. Store a property value as a keyframe 4. Move to another time 5. Change the property 6. Preview the motion between those values ## Core concepts ### Playhead The playhead shows the current time in the animation. Move it to inspect or edit a specific moment. ### Keyframe A keyframe stores a value at a specific time. Examples: - Position at 0 seconds - Opacity at 0.5 seconds - Rotation at 1 second ### Clip A clip is a named piece of animation, for example `Idle`, `Walk`, `Hover`, or `Pressed`. Clip names matter when connecting animation to state machines and runtime playback. ### Track A track shows animated properties for an object or group. ### Easing Easing controls how motion feels between keyframes. Linear motion feels mechanical. Ease-in-out motion usually feels softer and more natural. ## Basic workflow 1. Select an object. 2. Switch to the **Animate** tab. 3. The timeline shows **No animation yet** until the document has an animation. Tap **Create animation**. This only appears for the first animation in a document. 4. Move the playhead to the start. 5. Add a keyframe. 6. Move the playhead forward. 7. Change position, scale, rotation, or opacity. 8. Add another keyframe if needed. 9. Press play or scrub the timeline. 10. Adjust timing and easing. Screenshot: The Animate tab with a clip named Intro. The circle has moved to the right of the artboard, and the Position X track has keyframes at the start and at one second, with the playhead on the second one. ## Timing tips - Move keyframes farther apart to slow motion down - Move keyframes closer together to speed motion up - Use fewer keyframes when learning - Animate one property first, then add more - Preview often Good first animation properties: position, scale, opacity, rotation. ## Naming clips Use clear, descriptive clip names. They become more important when using state machines or runtime inputs. Good: - `Idle` - `Walk` - `Button Hover` - `Button Pressed` - `Loading Loop` Avoid: - `Animation 1` - `New Clip` - `Test` - `Final` ## Common mistakes ### Nothing changes during playback The keyframes may store the same value. Change the object after moving the playhead. ### Motion happens too quickly Move keyframes farther apart. ### Motion feels robotic Try easing instead of linear interpolation. ### The timeline is hard to understand Animate fewer properties and use clear layer names. ## Best practices - Start with two keyframes - Keep early clips short - Name clips based on behavior, not sequence - Use easing for natural motion - Preview after each meaningful change - Keep artwork hierarchy clean before animating # Bones & IK Source: https://kineto.keyvotion.com/docs/bones-ik/ Rigging makes character animation easier to edit and reuse. Instead of animating every shape manually, bones let you pose connected parts of an artwork. ## Watch a complete walk cycle tutorial Follow the [Kineto Creator Series walk cycle tutorial on YouTube](https://www.youtube.com/watch?v=mCW_8aVvI6U&list=PLIU_NvMB9m68&index=1) to see how vector artwork, bones, IK and keyframes come together in a complete character animation on iPad. ## Why rigging matters A well-rigged character can be posed quickly and its clips can be reused across different contexts: idle, walk, wave, reaction. Without rigging, each pose requires adjusting every shape independently. ## Bones A bone controls part of an artwork. Common examples: - Upper arm - Lower arm - Hand - Upper leg - Lower leg - Foot - Head Bones work best when artwork is separated into parts that can move naturally. ## Bone chains A bone chain connects multiple bones and preserves relationships between connected parts. ``` Arm chain: Shoulder → Upper Arm → Lower Arm → Hand Leg chain: Hip → Upper Leg → Lower Leg → Foot ``` ## FK and IK ### Forward kinematics (FK) Posing a chain from parent to child. Rotate the shoulder, which moves the arm, which moves the hand. Natural for poses driven from the torso outward. ### Inverse kinematics (IK) Move a target point and let the chain follow. IK is useful for: - Planted feet during a walk cycle - Hands reaching for objects - Simple character poses > Tip: Use IK where it helps, not everywhere. FK is often simpler for upper-body animation; IK shines for grounded limbs. ## Basic workflow 1. Create or import character artwork. 2. Separate moving parts in the Scene panel. 3. Add bones to individual parts. 4. Create bone chains. 5. Test simple poses. 6. Add IK targets where useful. 7. Animate poses on the timeline. > Note: Start with one limb before rigging a full character. Validate the rig works for that limb before continuing. ## Constraints Constraints link a bone to a target or another object without keyframes. See [Targets & Constraints](/docs/targets-constraints/). ## Common mistakes ### The character bends strangely Check pivots, hierarchy, and artwork separation. Each bone's pivot should match the joint it controls. ### A limb does not follow Check parent-child relationships in the bone hierarchy. ### IK feels unpredictable Simplify the chain and test one limb at a time. ## Best practices - Keep rigs simple at first - Name bones clearly: `arm.upper.left` not `Bone 3` - Test one limb before the full character - Use IK only where it helps - Build reusable clips: `Idle`, `Wave`, `Walk` # Targets & Constraints Source: https://kineto.keyvotion.com/docs/targets-constraints/ A target is a point or region on the canvas that your artwork can respond to. A constraint links a bone to something else, so it follows without keyframes. Together they make a character react to a finger. Cody, the bear on the [Kineto homepage](/), uses both: his pupils follow your finger, and his eyes wink when you tap them. ## Targets Pick **Target** in the tool rail. Tapping places a point. Dragging, or tapping **Make Region** in the inspector, gives the target an **Extent**: a rectangle with a width and height. **Collapse to a Point** turns it back. ### What a target does Under **Interaction**, a target has one of three modes: | Mode | What it does | | --- | --- | | **Drives a value** | Moving the point sets a value, such as an input | | **Reacts to taps** | The region catches touch and changes inputs on press and release | | **Exposes pointer** | The target goes where the pointer is, so bones and constraints can use that position | ## Example: tap to wink Each of Cody's eyes has a small region set to **Reacts to taps**. **Catches touch** is on, and two reactions change `tapped-left-eye`: **Down** when you press and **Up** when you release. The [state machine](/docs/state-machines/) does the rest. Screenshot: Cody with a target region selected over his left eye. The inspector shows left-eye-target set to Reacts to taps, with Catches touch on and two reactions, Up and Down, that toggle tapped-left-eye. ## Example: eyes that follow a finger A third target, `Eye tracking target`, covers the whole artboard and is set to **Exposes pointer**: - **Scope** is **Within own extent**, so only a finger inside the region moves it. The other option is **Anywhere on canvas**. - **Feel** is **Smooth**. **Snap** lands on the pointer at once, and **Spring** overshoots before settling. Screenshot: Cody with a target region around the whole artboard. The inspector shows Eye tracking target with an extent of 1086 by 1081, Exposes pointer switched on, and the scope Within own extent. ## Constraints Select a bone and tap **Add Constraint** in the inspector. The types are grouped by what they do: | Constraint | What the bone does | | --- | --- | | **Translation** | Follows position | | **Rotation** | Turns with the target | | **Scale** | Grows with the target | | **Copy** | All three at once | | **Aim** | Points at the target | | **Distance** | Stays within reach | **Transform** and **Follow Path** are also in the list. Every constraint has a **Strength**: at 100% it applies fully, and lower values blend it. ## Example: pupils that stay in the eye Each of Cody's pupils is attached to its own bone, and that bone has two **Distance** constraints: 1. **Stay near the eye tracking target, at about 20%.** The pupil leans toward your finger, but only a little. 2. **Stay near its eye shape, at 100%.** The pupil can't leave the eye, however far away your finger is. No keyframes are involved, so the pupils respond for as long as you move. Screenshot: A bone selected in Cody's left pupil. The inspector lists two Distance constraints: Stay near Eye tracking target at 20 percent and Stay near Path at 100 percent. A circle on the canvas shows the reach. ## Test it Open the [fullscreen Test Preview](/docs/state-machines/) in the Logic tab. **Hit areas** shows each region in a color for what it does, so you can see what a finger can touch. Screenshot: The fullscreen Test Preview with Cody, two highlighted hit areas over his eyes, a legend of hit area types, the inputs and an empty event log. ## Common mistakes ### A tap does nothing Check that the region is set to **Reacts to taps**, that **Catches touch** is on, and that it has reactions. ### A bone follows too strongly Lower the constraint's **Strength**. ### The bone leaves the area it should stay in Add a second constraint that limits it, as Cody's pupils do. Check the result in the preview. ## What to learn next - [State Machines](/docs/state-machines/): connect inputs to clips - [Web Playback](/docs/web-playback/): pass pointer input to the runtime # State Machines Source: https://kineto.keyvotion.com/docs/state-machines/ Timelines create motion. State machines create behavior. A state machine answers: *which animation should play right now?* State machines are the bridge between animation and interaction. They make the difference between a clip that plays once and an animation that responds to the user. ## Core concepts ### State A state represents a specific animation or behavior. Examples: `Idle`, `Walk`, `Hover`, `Pressed`, `Loading`. ### Transition A transition defines when movement between states is allowed. ``` Idle → Walk Walk → Idle ``` ### Input Inputs provide information that can influence state changes. Types: - **Boolean**: `isHovered`, `isPressed`, `isLoading`. Stays true or false until something changes it. - **Trigger**: fires once to start a transition, then clears itself. - **Number**: a value from 0 to 1. Transitions can't read a number, and the editor marks these inputs as **runtime v1 skips**. See [Known Limitations](/docs/limitations/). ## How transitions work - **Entry state:** the machine starts here. Select a state and tap **Set as Entry State** to change it. Without a choice, it's the first state. - **Conditions:** a transition can check whether a bool has a value (**Bool Equals**), a trigger fired (**Trigger Fired**) or the state has run for a number of seconds (**Has Exit Time**). All conditions on a transition must be true. - **No conditions:** a transition without conditions never runs. - **Priority:** Kineto checks the transitions leaving the current state in the order you created them, and the first match wins. You can't reorder them, so delete and recreate a transition to move it to the end. Avoid relying on this: make rules exclusive where you can. - **Blending:** a transition blends for its **Duration**, 0.15 seconds by default, with its **Easing**. A duration of 0 is an instant cut. - **During a blend:** no other transition can start. The machine checks conditions again when the blend ends. A trigger that fires during a blend is lost. - **Returning:** a state doesn't return on its own when its clip ends. Add a transition back, with a condition such as a bool that turned false or **Has Exit Time**. ## Button example A button with three states and two bool inputs, `isHovered` and `isPressed`. **Default** is the entry state. | From | To | Condition | |---|---|---| | `Default` | `Hover` | `isHovered` is true | | `Hover` | `Default` | `isHovered` is false | | `Hover` | `Pressed` | `isPressed` is true | | `Pressed` | `Hover` | `isPressed` is false | Each state has one way forward and one way back, so the order doesn't matter. If the pointer leaves while pressed, the button goes through `Hover` back to `Default`. ## Character example A character with `Idle`, `Walk` and `Run`, driven by your app's speed value. A transition can't compare numbers, so your app turns the speed into two bools, and the states can't overlap: | Speed | `isMoving` | `isRunning` | State | |---|---|---|---| | 0 | false | false | `Idle` | | Above 0, below your threshold | true | false | `Walk` | | At your threshold or above | true | true | `Run` | `Idle` is the entry state. | Order | From | To | Condition | |---|---|---|---| | 1 | `Idle` | `Walk` | `isMoving` is true | | 2 | `Walk` | `Idle` | `isMoving` is false | | 3 | `Walk` | `Run` | `isRunning` is true | | 4 | `Run` | `Idle` | `isMoving` is false | | 5 | `Run` | `Walk` | `isRunning` is false | Order matters for transitions 4 and 5. When the character stops from a run, both bools turn false, and both transitions match. Because you created `Run → Idle` first, it wins. If it came second, the character would go through `Walk`. Your app sets the bools from its speed, for example in Swift: ```swift try player.setBool(speed > 0, input: "isMoving", in: machine) try player.setBool(speed >= runThreshold, input: "isRunning", in: machine) ``` ## Building a state machine 1. Create your clips in the **Animate** tab. 2. Switch to the **Logic** tab and tap **Create State Machine**. 3. Tap **Create State** and choose a clip. For each next state, open the **Clips** tab at the bottom and tap a clip, or drag it onto the graph. 4. Select the state that should come first and tap **Set as Entry State**. 5. In the **Inputs** tab at the bottom, tap **Add Input** and choose a type. 6. Select a state and drag the **+** handle on its right edge to another state. This creates a transition. 7. With the transition selected, add a condition under **Conditions**. Without one, it never runs. 8. Add the transition back to the first state. 9. Test each path in **Test Preview**. > Warning: Always make clips work before building state logic. A state machine cannot fix a broken animation. ## Example: Cody's wink Cody, the bear on the [Kineto homepage](/), is a real project with a small state machine. Tap one of his eyes and he winks. ### States and clips The machine has three states. **Idle** is the entry state and plays a 5-second idle clip. **Wink** and **Wink right** each play a clip of half a second. Screenshot: The Logic tab with three states named Idle, Wink and Wink right, joined by four transitions, a small Test Preview at the top and the clips Wink left, Idle and Wink right at the bottom. ### Inputs Two boolean inputs say which eye is being pressed: `tapped-left-eye` and `tapped-right-eye`. Open the **Inputs** tab at the bottom to see them. You can also flip them by hand there to test a transition. Screenshot: The Inputs tab with two boolean inputs, tapped-left-eye and tapped-right-eye, and the inspector for the Idle state with its linked clip and four transitions. ### Transitions Four transitions connect the states, each with one condition, an **Ease** curve and a blend of 0.15 seconds. | From | To | Condition | |---|---|---| | `Idle` | `Wink` | `tapped-left-eye` is true | | `Wink` | `Idle` | `tapped-left-eye` is false | | `Idle` | `Wink right` | `tapped-right-eye` is true | | `Wink right` | `Idle` | `tapped-right-eye` is false | The inputs decide when Cody returns, not the clip. If an input stays true after the half-second clip, Cody stays in the **Wink** state, with his eye open again. Screenshot: The transition from Idle to Wink selected. The inspector shows the condition tapped-left-eye equals True, a blend of 0.15 seconds and the easing option Ease. ### Connect taps to inputs The inputs still need something to change them. Cody has a target region over each eye, set to **Reacts to taps**. Pressing the region turns the input on, and releasing turns it off. See [Targets & Constraints](/docs/targets-constraints/). Screenshot: Cody with a target region selected over his left eye. The inspector shows left-eye-target set to Reacts to taps, with Catches touch on and two reactions, Up and Down, that toggle tapped-left-eye. ### Test it full screen The small **Test Preview** in the Logic tab has a button to open it full screen. There you can test on the whole screen, with these tools: - **Hit areas** draws everything a finger can touch, colored by what it drives - **Runtime** shows the current state and clip - **Inputs** lets you flip inputs by hand - **Event Log** lists what your taps and drags do Press play to start the machine. Screenshot: The fullscreen Test Preview with Cody, two highlighted hit areas over his eyes, a legend of hit area types, the inputs and an empty event log. Screenshot: The fullscreen Test Preview, paused during the wink with hit areas hidden. Cody's left eye is closed to a thin line and his right eye is open. The runtime panel shows state Wink and clip Wink left, and the input tapped-left-eye is switched on. ## State machines and export State machines become more valuable when animations leave the editor. Your app can drive inputs and allow animations to respond to user actions and application state. This is one of the key differences between a simple animation and an interactive animation. See [iOS Playback](/docs/ios-playback/) and [Web Playback](/docs/web-playback/) for how to set Cody's inputs from code. ## Common mistakes ### Nothing changes Check that the transition has a condition, because a transition without one never runs. Then check that the input really gets the expected value. ### The wrong transition runs Two transitions leaving the same state can match at once. The one you created first wins. Make the rules exclusive, or recreate the transitions in the order you want. ### The animation gets stuck in a state A state doesn't return on its own. Check that a transition leads back, and that its condition can become true. ### The graph becomes confusing Reduce the number of states and simplify transitions. Complexity compounds fast. ## Best practices - Use clear state names: `Idle` not `State1` - Keep transitions simple at first - Start with two or three states - Test inputs frequently during construction - Build interaction gradually # Export Overview Source: https://kineto.keyvotion.com/docs/export/ Kineto is designed around a complete workflow: **Create → Animate → Interact → Ship**. The editor is where you create and preview motion. Export turns that motion into an asset you can use outside the editor. ## What each tab exports Open **Export** in the rail on the right edge. The options depend on the tab you are in. | Tab | Formats | Use it for | | --- | --- | --- | | **Design** | SVG, PNG, JPEG | Still artwork | | **Animate** | MP4, MOV, GIF | Video and GIF to share or publish | | **Logic** | Runtime Package (`.kvk`) | Interactive animation in your app or on the web | Screenshot: The Export panel in the Animate tab, with Artboard 1 selected and the formats MP4 and GIF. MP4, MOV and `.kvk` export are part of Kineto Pro. Audio is included in MP4 and MOV only: GIF has no audio track, and a `.kvk` file carries your animation and state machines, not your sound. ## SVG vs. `.kvk` SVG and `.kvk` serve different purposes: SVG: Artwork in Brings vector artwork into Kineto for animation. The Design tab can also export a static SVG, but SVG is not a playback format. .kvk: Animation out Export format. Contains artwork structure, clips, keyframes, timing, and state information. Plays back through the Kineto runtime. ## Runtime export workflow 1. Create or import artwork. 2. Animate clips on the timeline. 3. Build a state machine. The Logic tab offers the export once the document has one. 4. Check supported export features against [Known Limitations](/docs/limitations/). 5. In the **Logic** tab, open **Export** in the rail on the right edge and choose **Runtime Package (.kvk)**. 6. Add the exported file to your app project. 7. Test playback on a real device. ## Platforms The same `.kvk` file plays on these platforms: - iOS apps use the KinetoRuntime Swift package - Web pages use the web runtime, which runs in the browser with WebAssembly The [Kineto runtime source](https://github.com/HBrinkman/kineto-runtime) is public. The [Flutter runtime package](https://pub.dev/packages/kineto_runtime) is published on pub.dev as a pre-release for Flutter on iOS, Android and web. Swift and standalone web integrations remain source-first; check [Known Limitations](/docs/limitations/) before relying on a platform. > Note: See [iOS Playback](/docs/ios-playback/) and [Web Playback](/docs/web-playback/) for integration details. ## Clips and interaction Animations can be organized into named clips that the runtime selects by name: - `Idle` - `Walk` - `Hover` - `Pressed` - `Loading Loop` Interactive animations use inputs and state machines. Your app sets input values; the state machine determines which clip plays. See [State Machines](/docs/state-machines/) for how to structure this. ## Compatibility Not every editor feature is export-ready at the same time. Before shipping, check: - Supported shape features - Supported timeline properties - State-machine support status - Text and SVG limitations - Target-platform limitations > Warning: Check [Known Limitations](/docs/limitations/) before relying on any feature in a shipped product. ## Common questions ### Is `.kvk` the same as SVG? No. SVG brings artwork in. `.kvk` takes animation out. ### Is `.kvk` the same as Lottie? No. `.kvk` is Kineto's own format, designed for interactive animations. ### Can every animation be exported? Only features listed as export-ready should be treated as production-ready. Check Known Limitations before shipping. # What is .kvk Source: https://kineto.keyvotion.com/docs/kvk/ `.kvk` is Kineto's exported animation format. SVG brings artwork into Kineto. `.kvk` takes animated work out. ## What a `.kvk` file contains A `.kvk` file represents a shippable animation asset. It may contain: - Artwork structure - Animation clips - Keyframes and timing - State machine data where supported - Input definitions - Metadata for the Kineto playback runtime ## Export workflow 1. Prepare artwork: organize layers, name groups clearly. 2. Create animation clips on the timeline. 3. Build a state machine. The Logic tab offers the export once the document has one. 4. Check [Known Limitations](/docs/limitations/). 5. In the **Logic** tab, open **Export** in the rail on the right edge and choose **Runtime Package (.kvk)**. 6. Test playback in your app or on your web page. ## Pre-export checklist - Artwork is organized and layers are named - Pivots are correct for each animated part - Clips are named clearly (`Idle`, `Hover`, not `Clip 1`) - Timeline preview plays correctly - State machines are tested in the editor - Known limitations have been reviewed ## Naming exported files Name your `.kvk` files to reflect their content and usage context: Good: - `loading_spinner.kvk` - `button_interaction.kvk` - `onboarding_character.kvk` Avoid: - `final.kvk` - `test.kvk` - `animation_v3.kvk` ## Common issues ### Export looks different from the editor Check for unsupported SVG effects, text rendering, or styling behavior. These may not export cleanly. ### Motion does not play Confirm that clips contain keyframes and have been given correct names. ### Interaction does not work Check state names, input definitions, and transitions in the Logic tab. > Note: Treat `.kvk` files as app assets. In an iOS app, add them to your Xcode project so they are copied into the app bundle. On the web, host them with your site. # iOS Playback Source: https://kineto.keyvotion.com/docs/ios-playback/ Play a `.kvk` file in an iOS app with the KinetoRuntime Swift package. The examples on this page use Cody, the same file and the same inputs as [Web Playback](/docs/web-playback/). ## Get access > Swift source preview: The [public Kineto Runtime repository](https://github.com/HBrinkman/kineto-runtime) contains Swift source and SDK wrappers. The Swift setup below requires a local build; it is not a hosted Swift binary release. For Flutter applications, use the separately [published pre-release kineto_runtime package on pub.dev](https://pub.dev/packages/kineto_runtime). APIs are pre-release. To build from the public source: 1. Clone `https://github.com/HBrinkman/kineto-runtime.git` and check the repository's current prerequisites and compatibility notes. You need macOS, Xcode, Rust and the build tools listed there. 2. From the clone root, run `tool/refresh_runtime_xcframework.sh` to generate the device and simulator libraries. 3. In Xcode, add `runtimes/swift/KinetoRuntime` from that clone as a **local package**, then link the `KinetoRuntime` library. The package requires iOS 15 or later. Keep the source revision and generated library together. Do not point Xcode at an invented release tag or assume the repository root is a ready-to-download Swift binary package. ## Example file Download [cody.kvk](/kineto/cody.kvk), the runtime file the Kineto homepage plays. Add `cody.kvk` to your Xcode target, so it's copied into the app bundle. | Item | Value | |---|---| | State machine id | `cfba0cd6-7a60-4851-a8d2-d312b67b5392` | | Inputs | `tapped-left-eye`, `tapped-right-eye` (bool) | | Clips | `Wink left`, `Idle`, `Wink right` | For your own file, read these values from the handoff notes, or from `stateMachines()` and `inputs(in:)`. To get the notes, keep the handoff option on when you export the `.kvk`. ## Show the player in SwiftUI `KinetoPlayer` holds the animation, and `KinetoPlayerViewController` draws it. In SwiftUI, wrap the controller in a `UIViewControllerRepresentable`. This example was run on a physical iPad with `cody.kvk`. ```swift import KinetoRuntime import SwiftUI struct KinetoPlayerView: UIViewControllerRepresentable { let player: KinetoPlayer func makeUIViewController(context: Context) -> KinetoPlayerViewController { KinetoPlayerViewController(player: player) } func updateUIViewController(_ controller: KinetoPlayerViewController, context: Context) {} } struct CodyView: View { private static let machineID = "cfba0cd6-7a60-4851-a8d2-d312b67b5392" @State private var player: KinetoPlayer? @State private var errorMessage: String? var body: some View { VStack { if let player { KinetoPlayerView(player: player) .aspectRatio(1, contentMode: .fit) HStack { Button("Wink left") { wink("tapped-left-eye") } Button("Wink right") { wink("tapped-right-eye") } } } else if let errorMessage { Text(errorMessage) } } .task(load) } @Sendable private func load() async { guard player == nil else { return } do { guard let url = Bundle.main.url(forResource: "cody", withExtension: "kvk") else { errorMessage = "cody.kvk is not in the app bundle." return } player = try KinetoPlayer(contentsOf: url) } catch { errorMessage = String(describing: error) } } private func wink(_ input: String) { guard let player else { return } do { try player.setBool(true, input: input, in: Self.machineID) DispatchQueue.main.asyncAfter(deadline: .now() + 0.22) { try? player.setBool(false, input: input, in: Self.machineID) } } catch { errorMessage = String(describing: error) } } } ``` ## Show the player in UIKit Add the controller as a child view controller. ```swift import KinetoRuntime import UIKit final class CodyViewController: UIViewController { private var player: KinetoPlayer? override func viewDidLoad() { super.viewDidLoad() do { guard let url = Bundle.main.url(forResource: "cody", withExtension: "kvk") else { print("cody.kvk is not in the app bundle.") return } let player = try KinetoPlayer(contentsOf: url) self.player = player let controller = KinetoPlayerViewController(player: player) addChild(controller) controller.view.translatesAutoresizingMaskIntoConstraints = false view.addSubview(controller.view) NSLayoutConstraint.activate([ controller.view.leadingAnchor.constraint(equalTo: view.leadingAnchor), controller.view.trailingAnchor.constraint(equalTo: view.trailingAnchor), controller.view.topAnchor.constraint(equalTo: view.topAnchor), controller.view.bottomAnchor.constraint(equalTo: view.bottomAnchor), ]) controller.didMove(toParent: self) } catch { print("Kineto could not load the file: \(error)") } } } ``` ## What the view controller does - It starts advancing the player when its view appears, and stops when the view disappears. - It handles touches. A tap on one of Cody's eyes makes him wink without any more code. Touch movement also reaches targets that follow the pointer. - It draws the artwork fitted to its view. - It shows an error message over the view if the renderer can't start. Pass `autoplay: false` to create it without advancing. You can change this later through `isPlaybackEnabled`. > Note: The state machine runs as soon as the player advances. Autoplay doesn't start a timeline clip outside the machine: use `selectAnimation(_:)` and `play()` for that. ## Set inputs Each call names the input and its state machine. `activeState(in:)` returns the id of the current state. ```swift let machine = "cfba0cd6-7a60-4851-a8d2-d312b67b5392" try player.setBool(true, input: "tapped-left-eye", in: machine) // Cody blends to Wink. try player.setBool(false, input: "tapped-left-eye", in: machine) // Cody blends back to Idle. let state = player.activeState(in: machine) ``` Files with other input types use these calls: ```swift try player.setTrigger("wave", in: machine) try player.setNumber(0.5, input: "progress", in: machine) // A value from 0 to 1. ``` The host can set number inputs; engine and web binding fixtures are tested. The editor's old **runtime v1 skips** label was incorrect and has been removed. See [Known Limitations](/docs/limitations/) for the scope of that evidence. ## Control clips ```swift let clips = player.clips() // Each clip has an id, a name and a duration. try player.selectAnimation(clips[0].id) try player.play() try player.pause() ``` ## Handle errors The calls throw `KinetoRuntimeError`. These are the messages Cody's file gives: | Situation | Message | |---|---| | The data isn't a `.kvk` file | `Kineto load failed (3): Unable to load .kvk data` | | The input name is wrong | `Kineto operation failed (2): Unknown input name "..."` | | The machine id is wrong | `Kineto operation failed (2): Unknown state machine id "..."` | ## Test on a device > Warning: Test rendering on a real device. On simulator GPUs missing required Metal features, `KinetoPlayerViewController` now shows “Kineto renderer unavailable” rather than aborting the host. Headless player calls remain available there; this is not a claim that simulator rendering works. - The file is in the app bundle - Cody appears when the view opens - A tap on an eye makes him wink, and he returns to Idle when you let go - Timing feels right at the device's frame rate - Performance is acceptable on your slowest supported device ## Related pages - [Web Playback](/docs/web-playback/) - [State Machines](/docs/state-machines/) - [Known Limitations](/docs/limitations/) # Web Playback Source: https://kineto.keyvotion.com/docs/web-playback/ The Kineto web runtime plays a `.kvk` file in the browser, using the Kineto engine compiled to WebAssembly. Cody, the bear on the [Kineto homepage](/), runs on it. The example below uses the same file and inputs as [iOS Playback](/docs/ios-playback/). ## Get access > Standalone web source preview: The [public Kineto Runtime repository](https://github.com/HBrinkman/kineto-runtime) includes the standalone web runtime in `runtimes/web/pkg`. Keep its generated JavaScript and WebAssembly files from the same commit. It is still pre-release and not on npm; the website's own copy is not a versioned SDK download. Flutter web uses the separately [published Flutter pre-release on pub.dev](https://pub.dev/packages/kineto_runtime). Clone the repository and use the checked-in files from `runtimes/web/pkg`, or follow its README and `scripts/build_runtime_web.sh` to rebuild them. Record the exact source revision. Serve the files over HTTP(S), not `file://`. The web runtime has three files, which belong in the same folder: - `kineto_engine.js` - `kineto_engine_bg.wasm` - your `.kvk` file When redistributing the generated runtime, include its `THIRD_PARTY_NOTICES.md` and `licenses/RUST_LICENSE_TEXTS.txt` alongside your distribution, and review their requirements. The runtime's MIT license does not grant rights to somebody else's artwork. ## Example file Download [cody.kvk](/kineto/cody.kvk), the runtime file the Kineto homepage plays. | Item | Value | |---|---| | State machine id | `cfba0cd6-7a60-4851-a8d2-d312b67b5392` | | Inputs | `tapped-left-eye`, `tapped-right-eye` (bool) | The web runtime has no call that lists machines or inputs. For your own file, read these values from the handoff notes. To get the notes, keep the handoff option on when you export the `.kvk`. ## Complete example This example was run in Chromium, including a real click on Cody's left eye and the error cases below. ### The page The canvas needs an `id`, because `renderToCanvas` finds it by id. `touch-action: none` stops a touch on the canvas from scrolling the page. ```html
The animation could not load.
``` ### The script Save this as `cody.js`. ```js import init, { KinetoWasmPlayer } from './kineto_engine.js'; const FILE_URL = './cody.kvk'; const MACHINE_ID = 'cfba0cd6-7a60-4851-a8d2-d312b67b5392'; const MAX_PIXEL_RATIO = 2; const canvas = document.getElementById('cody'); const fallback = document.getElementById('cody-fallback'); const buttons = document.querySelectorAll('[data-input]'); function showFallback(error) { console.error('Kineto:', error); stop(); canvas.hidden = true; fallback.hidden = false; buttons.forEach((button) => (button.disabled = true)); } async function loadPlayer() { await init(); // Loads kineto_engine_bg.wasm from the same folder as the module. const response = await fetch(FILE_URL); if (!response.ok) throw new Error(`${FILE_URL}: HTTP ${response.status}`); return new KinetoWasmPlayer(new Uint8Array(await response.arrayBuffer())); } let player; let frame = 0; let lastTime = 0; let onScreen = true; function resize() { const ratio = Math.min(window.devicePixelRatio || 1, MAX_PIXEL_RATIO); const width = Math.round(canvas.clientWidth * ratio); const height = Math.round(canvas.clientHeight * ratio); if (width > 0 && height > 0 && (canvas.width !== width || canvas.height !== height)) { canvas.width = width; canvas.height = height; } } function tick(now) { frame = 0; try { // Cap the step, so a long pause doesn't skip the animation forward. player.advance(lastTime ? Math.min((now - lastTime) / 1000, 0.1) : 0); player.renderToCanvas(canvas.id); } catch (error) { showFallback(error); return; } lastTime = now; start(); } function start() { if (player && !frame && onScreen && !document.hidden) frame = requestAnimationFrame(tick); } function stop() { if (frame) cancelAnimationFrame(frame); frame = 0; lastTime = 0; } function sendPointer(type, event) { const rect = canvas.getBoundingClientRect(); const x = ((event.clientX - rect.left) / rect.width) * canvas.width; const y = ((event.clientY - rect.top) / rect.height) * canvas.height; const point = player.documentPoint(x, y, canvas.width, canvas.height); player.pointerEvent(type, point[0], point[1]); } function tap(input) { player.setBool(MACHINE_ID, input, true); setTimeout(() => player.setBool(MACHINE_ID, input, false), 220); } try { player = await loadPlayer(); } catch (error) { showFallback(error); } if (player) { resize(); new ResizeObserver(resize).observe(canvas); new IntersectionObserver(([entry]) => { onScreen = entry.isIntersecting; if (onScreen) start(); else stop(); }).observe(canvas); document.addEventListener('visibilitychange', () => { if (document.hidden) stop(); else start(); }); canvas.addEventListener('pointerdown', (event) => { canvas.setPointerCapture(event.pointerId); sendPointer('down', event); }); canvas.addEventListener('pointerup', (event) => sendPointer('up', event)); canvas.addEventListener('pointercancel', (event) => sendPointer('up', event)); buttons.forEach((button) => { button.disabled = false; button.addEventListener('click', () => tap(button.dataset.input)); }); start(); } ``` The script does the following: - **Errors:** if the runtime or the file can't load, or drawing fails, it hides the canvas and shows the fallback text. - **Sharpness:** the canvas buffer follows the CSS size and the pixel density. The density is capped at 2 to save power. - **Resizing:** a `ResizeObserver` updates the buffer. The runtime fits the artboard into whatever size the canvas has. - **Pausing:** drawing stops when the canvas leaves the screen or the tab is hidden, and starts again when it returns. - **Time:** each step is capped at 0.1 seconds, and the first frame after a pause advances by 0. - **Taps:** pointer positions go from CSS pixels to canvas pixels, then through `documentPoint` to document coordinates. ## Inputs and state On the web, the state machine id comes first. ```js player.setBool(MACHINE_ID, 'tapped-left-eye', true); // Cody blends to Wink. player.setBool(MACHINE_ID, 'tapped-left-eye', false); // Cody blends back to Idle. const stateId = player.activeState(MACHINE_ID); const transitionId = player.activeTransition(MACHINE_ID); // undefined when no blend is running. ``` `activeState` returns a state id, not a name. Files with other input types use `setTrigger(machineId, name)` and `setNumber(machineId, name, value)`, with a value from 0 to 1. The public runtime source supports host-set numbers; the editor's old **runtime v1 skips** label was incorrect. Engine and web binding fixtures are tested; see [Known Limitations](/docs/limitations/) for platform evidence. `pointerEvent` accepts `'down'`, `'up'`, `'enter'` and `'exit'`, and returns how many listeners fired. ## Errors The calls throw a message, which you can catch as in the script above. `lastError()` returns the most recent message. | Situation | Message | |---|---| | The `.kvk` file returns 404 | The `HTTP 404` error from the script | | The data isn't a `.kvk` file | A format error, for example `Type i32 at position ... is unaligned` | | The input name is wrong | `Unknown input name "..."` | | The machine id is wrong | `Unknown state machine id "..."` | ## What the web runtime draws The web runtime draws to a 2D canvas, and it draws less than the iOS runtime. It doesn't draw text, images, blur, shadows or blend modes, and gradients become a single color. Check the [support table](/docs/limitations/) before you design for the web. ## Hosting Two different headers affect how `kineto_engine_bg.wasm` loads. They do different things. | Header | What it controls | If it's missing | |---|---|---| | `Content-Type: application/wasm` | Whether the browser can use `WebAssembly.instantiateStreaming`, which compiles the file while it downloads | The runtime logs a console warning, downloads the whole file, then compiles it. It still works | | `Content-Encoding: gzip` or `br` | Whether the file is compressed on the way to the browser | The browser downloads the full file. It still works | The two are independent: compression doesn't depend on the MIME type in the browser, and streaming doesn't depend on compression. Some servers only compress the types they're configured for, so check both. We tested all four combinations of these headers in Chromium, using gzip. Each one loaded and played Cody. With gzip, the transfer dropped from 591,902 to 203,122 bytes. Check your server: ```bash curl -sI -H 'Accept-Encoding: gzip, br' https://example.com/kineto_engine_bg.wasm \ | grep -iE '^content-(type|encoding)' ``` You should see `content-type: application/wasm` and a `content-encoding` line. By default, `init()` loads the `.wasm` file from the same folder as `kineto_engine.js`. To load it from another location, pass the URL: `init({ module_or_path: url })`. A different origin needs CORS headers. A strict Content Security Policy needs `'wasm-unsafe-eval'` in `script-src`. ## Testing checklist - The runtime and the `.kvk` file load without errors - The fallback text appears when you block the `.kvk` file - The canvas is sharp on high-density screens - A tap on an eye and both buttons make Cody wink - Drawing stops in a hidden tab - Performance is acceptable on phones as well as desktops ## Related pages - [iOS Playback](/docs/ios-playback/) - [State Machines](/docs/state-machines/) - [Known Limitations](/docs/limitations/) # Known Limitations Source: https://kineto.keyvotion.com/docs/limitations/ Use this page to check what each part of Kineto supports before you build on it. ## What this page is based on | Part | Checked against | |---|---| | Editor and iOS runtime | Kineto source at commit `467d3b01` (2 November 2026), app version 0.1.0 | | Web runtime | The build the [Kineto homepage](/) uses, from engine commit `8e1401f6` | **How to read the table:** - **Yes**: the code supports it. For the iOS runtime, Kineto's own support list names a test for most of these rows. - **Partial**: it works with the limit in the last column. - **No**: it doesn't work, or there's no way to reach it. - **Not yet verified**: nobody has confirmed it for this page. Test it before you rely on it. > Warning: The iOS column comes from source code and engine tests. On a physical iPad, only the SwiftUI example with Cody was run, so test other features on your own device. Both runtime packages are in pre-release and can change. ## Artwork | Feature | Editor | iOS runtime | Web runtime | Limit or workaround | |---|---|---|---|---| | Shapes and paths | Yes | Yes | Yes | | | Solid fills | Yes | Yes | Yes | | | Gradients | Yes | Yes | Partial | The web runtime fills with the color of the first stop | | Strokes | Yes | Yes | Partial | The web runtime draws color and width only: no caps, joins, dashes or alignment | | Text | Yes | Partial | No | iOS has no kerning pairs, ligatures, bidirectional text or complex scripts. The web runtime doesn't draw text: convert it to paths | | Images | Yes | Yes | No | The web runtime leaves a gap where the image should be | | Clipping masks | Yes | Partial | Partial | The runtimes clip with a hard edge. A semi-transparent mask only fades in the editor | | Blend modes | Yes | Yes | No | The web runtime draws everything with normal blending | | Drop shadows | Yes | Partial | No | iOS skips inset shadows | | Blur | Yes | No | No | Bake the look into your artwork | | SVG import | Partial | n/a | n/a | Kineto lists what it can't import and lets you choose **Import Anyway**. See [Importing SVG](/docs/svg-import/) | ## Animation | Feature | Editor | iOS runtime | Web runtime | Limit or workaround | |---|---|---|---|---| | Position, scale, rotation, opacity | Yes | Yes | Yes | | | Easing | Yes | Yes | Yes | | | Fill and stroke color, stroke width, size, corner radius, skew | Yes | Yes | Not yet verified | | | Whole-gradient color and stops | Yes | Yes | No | The web runtime has no gradient to animate. Stops move together on iOS, not one by one | | Stroke trim | Yes | Yes | No | The web runtime draws the full stroke | | Path shape changes | Yes | Yes | Not yet verified | | | Camera | Yes | Yes | Not yet verified | | | Draw order changes over time | Yes | No | Not yet verified | The runtime uses a fixed order | | Blend mode changes over time | Yes | No | No | | | Bones | Yes | Yes | Yes | Web checked with Cody only | | IK and constraints | Yes | Yes | Partial | Web checked with Cody's constraints only | | Bone position over time | Yes | No | Not yet verified | The joint is written once at export | | Pose drivers | Yes | Partial | Not yet verified | Export bakes them into ordinary tracks, so a runtime can't change a driver. A drawing swap shows only in the editor | | Components and Animation Sequences | Yes | Yes | Not yet verified | Export compiles them into plain groups and tracks | ## Interaction | Feature | Editor | iOS runtime | Web runtime | Limit or workaround | |---|---|---|---|---| | States and transitions | Yes | Yes | Yes | | | Bool and trigger inputs | Yes | Yes | Yes | Web checked with Cody's bool inputs. The trigger call is present but wasn't run | | Transition conditions on a number | No | No | No | Conditions can read a bool, a trigger or exit time. See [State Machines](/docs/state-machines/) | | Number inputs | Partial | Yes | Yes | Host-set number calls and engine/web binding fixtures pass. This does not prove every pointer-source or rendered-pose case on every device | | Blend states (1D and 2D) | No | Not yet verified | Not yet verified | The file format has them, but the editor has no way to create one | | State machine layers | Yes | Yes | Not yet verified | | | Taps on targets | Yes | Yes | Yes | On the web, you send pointer events yourself. See [Web Playback](/docs/web-playback/) | | Targets that follow the pointer | Yes | Yes | Partial | The web runtime has no call for pointer movement, so targets respond to a press but don't follow a moving finger | | Sounds fired by a state machine | Yes | Yes | Partial | A `.kvk` holds no audio, so your app supplies the files. The web runtime only reports which sound fired | | Sounds on a timeline | Yes | Yes | No | The web runtime has no call for active timeline audio | | List machines and inputs from code | n/a | Yes | No | On the web, use the ids from the handoff notes | | Choose or pause a clip from code | n/a | Yes | No | The web runtime plays the first clip. Your page controls time through `advance()` | ## Platforms | Platform | Status | Limit or workaround | |---|---|---| | iPad editor | App Store listing (1.1.0) | Editor availability is separate from the published Flutter runtime | | Desktop editor | No | | | Cloud collaboration | No | | | iOS apps (Swift) | Public source preview | Build the native libraries locally; iOS 15 or later. See [iOS Playback](/docs/ios-playback/) | | iOS Simulator | Partial | Unsupported simulator GPUs show a renderer-unavailable error; headless player calls still work. Rendering needs a supported GPU and physical-device validation | | Web (standalone JS/Wasm) | Public source preview | Generated wasm/JS in the [runtime repository](https://github.com/HBrinkman/kineto-runtime), not on npm. Flutter web uses the separate [pub.dev pre-release package](https://pub.dev/packages/kineto_runtime). See [Web Playback](/docs/web-playback/) | | Flutter (iOS, Android, web) | Published pre-release on [pub.dev](https://pub.dev/packages/kineto_runtime) | Package installation is available; verify platform compatibility and behavior for your app. APIs can change and publication is not a guarantee of production readiness | ## Export Each tab exports different formats. See [Export Overview](/docs/export/). Before a `.kvk` export, the export sheet runs a pre-flight check. It warns you when a property will look different on a device, and blocks the export for errors such as a state that plays a missing clip. The check describes the iOS runtime. The web differences in the tables above are not part of it. ## Performance Kineto doesn't publish limits for file size, node count or frame rate, and none were measured for this page. Test your file on the slowest device you support. ## Scope Kineto is built for **interactive vector animation on iPad**. It isn't a full design suite, a video editor, a raster animation tool, a game engine or a general-purpose drawing app. # First Animation Source: https://kineto.keyvotion.com/tutorials/first-animation/ The [Quick Start](/docs/quick-start/) circle moves at one constant speed. In this tutorial you make that motion feel natural: the circle grows while it moves, starts slowly, stops softly and plays as a clip with a clear name. Screenshot: The result: a violet circle moves from the left to the right of the artboard in one second. It grows to one and a half times its size, starts slowly and slows down at the end. ## What you will learn - How to name a clip - How to animate several properties in one clip - How easing changes motion without changing its timing ## Before you start Finish the [Quick Start](/docs/quick-start/) and open its `First Animation` project. Tap **Animate**. You should see: - One clip, `Animation 1`, with **Duration 1.0s** - A **Position X** row with diamonds at 0 and 1 second ## 1. Name the clip 1. Touch and hold the `Animation 1` tab above the playback buttons. 2. Tap **Rename**. 3. Type `Intro`, then tap **Rename**. **Result:** the tab reads `Intro`. In the **Logic** tab, you pick clips by this name when you link them to states. ## 2. Add scale 1. Select the circle. 2. Tap **Jump to end**. The time reads `00:01:00`. 3. In **Properties**, set **Scale X** to `1.5` and confirm. 4. Set **Scale Y** to `1.5` and confirm. **Result:** the timeline has three rows: **Position X**, **Scale X** and **Scale Y**. Each has a diamond at 0 and at 1 second. Auto-Key recorded the scale of 1 at the start, as it did for Position X. The circle grows from its center, because its anchor is in the middle. At the end it's 300 px wide, while Position X stays 1420. Tap **Stop**, then **Play**. The circle grows while it moves, still at a constant speed. ## 3. Add easing Easing shapes the motion between two keyframes. It's set on the first of the two, so you set it on the three diamonds at 0 seconds. 1. Tap **Stop**. 2. Above the timeline rows, tap **Select Keyframes**. 3. Tap each of the three diamonds at 0 seconds. 4. An easing menu appears next to **Select Keyframes**. Tap it. 5. Tap **Ease In Out**. 6. Tap **Edit Timing** to leave the selection mode. Screenshot: Three selected keyframes at 0 seconds. The easing menu is open and offers Linear, Ease In, Ease Out, Ease In Out and Custom. **Result:** the three diamonds at 0 seconds change to the Ease In Out shape. Screenshot: The clip named Intro with the playhead at half a second. The circle is halfway across the artboard, and the Position X, Scale X and Scale Y rows each start with an Ease In Out keyframe. ## 4. Compare the motion Tap **Stop**, then **Play**. The circle still takes one second and ends in the same place. It now starts slowly, speeds up in the middle and slows down at the end. Easing changes how the motion is spread over time, not where it starts or ends. ## 5. Save Tap the file name at the top left, then tap **Save**. ## Common mistakes ### Only one row changed You selected one diamond before you chose the easing. Tap **Select Keyframes** again and select all three diamonds at 0 seconds. ### The motion didn't change You may have set the easing on the diamonds at 1 second. Easing affects the motion after a keyframe, and nothing follows the last one. ### The circle changes shape **Scale X** and **Scale Y** have different values. Set both to `1.5` at 1 second. ## What you learned - A clip name is how you find the clip again, for example in the **Logic** tab - Several properties can change in one clip, each on its own row - Easing belongs to the keyframe where a motion starts ## What to learn next - [Timeline Guide](/docs/timeline/): timing and curves in more depth - [State Machines](/docs/state-machines/): make clips respond to input - [Reusable Components](/tutorials/components/): reuse your artwork and clips # Reusable Components Source: https://kineto.keyvotion.com/tutorials/components/ A component is artwork you can reuse. Change the source once, and every copy on your artboards follows. Each copy, called an instance, can still have its own position and play its own animation. In this tutorial you turn Cody the bear into a component, place a second Cody and change both from one source. ## 1. Make a component 1. Import or draw your artwork. See [Importing SVG](/docs/svg-import/). 2. Open the **Scene** panel and find the group you want to reuse. 3. Open the row's menu and tap **Make Component**. 4. Check the name and what it includes, then tap **Create Component**. An instance now takes the place of the group, in exactly the same spot. Screenshot: Cody selected as an instance. The inspector labels him Instance and shows the component Cody, a Plays menu set to Authored pose, and the buttons Edit Component and Detach. ## 2. Place another instance 1. Open **Components** in the rail on the right edge. 2. Tap **Insert** on the Cody card. 3. Move the new instance into place. The card shows how many instances are in use. Screenshot: The Components panel with a Cody card that shows a preview, how many instances are in use, and the buttons Insert and Edit. ## 3. Edit the source 1. Select an instance and tap **Edit Component**, or tap **Edit** on the card. 2. Change the artwork with the usual tools. Try a new shirt color. 3. Tap the back arrow in the scope bar at the bottom to leave. Back on the artboard, every instance shows the change. Screenshot: Cody inside his component source. The scope bar at the bottom shows Artboard 1, then Cody, a Component label and the number of instances. > Warning: Edits inside a component change every instance. To change one copy only, select it and tap Detach. It then becomes normal artwork and no longer follows the source. ## 4. Animate an instance Clips you create inside a component belong to its source, and each instance chooses what to play. 1. Inside the component, create a clip in the **Animate** tab, for example `Wave`. 2. Leave the component and select an instance. 3. In the inspector, change **Plays** from **Authored pose** to `Wave`. 4. Use **Starts at**, **Speed** and **Clip offset** under **Timing** to give each instance its own rhythm. To play several clips in a row, use the instance's timeline lane. The next section shows how. ## 5. Play several clips on the timeline An instance can perform a series of clips on the timeline of the clip it sits in. This series is its **Animation Sequence**. Each block plays one clip from the component, so you plan the timing in one place and reuse the clips. In this example, Cody has three clips in his component: `Idle`, `Wink left` and `Wink right`. The artboard clip `Cody intro` plays them one after the other. Screenshot: The Animate tab with the artboard clip Cody intro open. Under the Cody instance, the Animation Sequence row shows three blocks: Idle, Wink left and Wink right. A dashed HOLD line sits between the winks and REST follows the last block. A Position X row with two keyframes sits above the lane. ### Add clips 1. In the **Animate** tab, open or create a clip on the artboard, for example `Cody intro`. Every instance on that artboard has a row. 2. Tap the arrow on the instance's row to open it. The lane is called **Nested Animation** until you add the first clip. 3. Move the playhead to where the clip should start. 4. Tap **+ Clip** and choose a clip. To add one somewhere else, touch and hold an empty part of the lane. 5. Move the playhead and repeat for the next clip. A new block starts at the playhead. If it doesn't fit there, it goes in the first gap after the playhead that is long enough. Screenshot: The + Clip menu open on the lane and listing Wink left, Idle and Wink right. The playhead sits in the empty part of the lane after the last block. ### Arrange the blocks - **Move:** drag a block. - **Trim:** tap a block, then drag its left or right edge. - **Duplicate or remove:** tap a block and use the buttons above it. Dragged edges snap to the playhead, the start and end of the timeline, and nearby blocks. Blocks can't overlap, so a drag stops at the next block. ### Set the timing of a block Tap a block and open **Properties** in the rail on the right edge. Screenshot: The Wink left block selected on the lane, with Duplicate and Remove above it. The inspector shows the clip, Start, Duration, Source in and Speed, then Playback set to Once and After the Clip set to Hold. | Setting | What it does | |---|---| | **Clip** | Changes which clip the block plays. | | **Start** and **Duration** | Set where the block starts and how long it lasts, in frames. | | **Source in** | Sets the point in the clip where the block starts playing. | | **Speed** | Changes how fast the clip plays. At 0, the clip freezes. | | **Playback** | Plays the clip **Once**, as a **Loop** or as a **Ping pong**. | | **After the Clip** | Sets what the instance does until the next block. | ### What happens between blocks - Before the first block, the instance shows its authored pose. - With **Hold**, the instance keeps the last pose of the block. The lane shows **HOLD**. - With **Rest**, the instance goes back to its authored pose. The lane shows **REST**. ### Combine with the instance's own animation The **Position X** row in the example is on the instance itself, under **Instance Transform**. These keyframes move the whole instance, and the lane controls what plays inside it. You can use both at the same time. If you edit a clip inside the component, every block that plays this clip changes too. > Note: While an instance has a sequence, the inspector shows the sequence under Plays instead of the single clip menu. To play a single clip again, remove every block from the lane. ## 6. Delete a component Open the card's **More** menu and tap **Delete…**. If instances still use the component, Kineto offers **Detach & Delete**, so your artwork stays on the artboard. ## Common mistakes ### My change only shows on one copy You probably edited a detached copy, or an instance's own position. Use **Edit Component** for changes that should reach every instance. ### I can't insert a component here A component can't contain itself. Leave the component first. ### The instance doesn't animate An instance shows its authored pose until you pick a clip under **Plays** or add a block to its lane. Before the first block, it also shows this pose. ### A block won't move any further Blocks can't overlap. Move or trim the next block first. ## What to learn next - [Pose Drivers](/tutorials/pose-drivers/): turn a character with one slider - [Bones & IK](/docs/bones-ik/): rig a component before you reuse it # Pose Drivers Source: https://kineto.keyvotion.com/tutorials/pose-drivers/ A pose driver lets you turn a character from front view to side view with one slider, and then animate that slider. You author the turn once, and every clip and instance reuses it. ## What you will build A *Cody* component with a **Turn Angle** driver: - 0° shows Cody from the front - 45° shows a three-quarter view - 90° shows Cody from the side Then a 12-frame *Turn Right* clip that keys Turn Angle from 0° to 90°, and a second Cody that stands still at a different angle. This tutorial teaches the pose driver loop: **Add a driver → add a pose → edit the pose → scrub the slider → key the value in a clip.** ## Prerequisites Before starting, you should know how to: - import an SVG and work with its layers ([Importing SVG](/docs/svg-import/)) - add keyframes on the timeline ([First Animation](/tutorials/first-animation/)) - add bones and attach artwork to them ([Bones & IK](/docs/bones-ik/)) - make a component ([Reusable Components](/tutorials/components/)) You need character artwork split into parts: head, eyes, snout, torso, and each arm and leg in its own group. Separate drawings for a turned arm help, but are optional. ## 1. Poses and keyframes are not the same thing A **pose driver** is one number on a component, here *Turn Angle*, from 0° to 90°. Each **pose** says what the component looks like at one value of that number. Between two poses, Kineto works out the in-between. | | Poses | Keyframes | |---|---|---| | Live in | the component source (Design) | a clip (Animate) | | Placed at | a driver value: 0°, 45°, 90° | a time: frame 0, 6, 12 | | Describe | what the character looks like at an angle | when the character is at that angle | You author the turn once as poses. Every clip and every instance reuses it by keying only the Turn Angle value. ## 2. Make Cody a component 1. Select the Cody group in the Scene panel. 2. Open the row's menu and tap **Make Component**. 3. Check the receipt and tap **Create Component**. 4. Open the instance's menu and tap **Edit Component**. You are now inside the component's source. The scope bar at the bottom shows where you are. Drivers only exist inside a component, so this step is required. ## 3. Add the Turn Angle driver 1. Open **Pose** from the rail on the right edge. 2. Tap **Add Driver**. 3. Keep the suggested name *Turn Angle*, range 0–90 and unit °, and tap **OK**. Screenshot: The New Pose Driver dialog with the name Turn Angle, a range from 0 to 90 and the unit degrees. The Pose panel now shows the driver with a slider, a **Rest** row, a **Start** pose at 0° and **Add Pose**. Screenshot: The Pose panel next to Cody, with a Turn Angle slider, the rows Rest and Start, and the buttons Add Pose and Add Driver. **Rest** is your artwork as it is in Design. A pose only stores what differs from Rest, so Rest is a good front view. ## 4. Add the poses The driver already has its first pose: *Start*, at 0°. 1. Drag the slider to 45 and tap **Add Pose at 45°**. 2. Drag it to 90 and tap **Add Pose at 90°**. The slider snaps to a pose when it gets close to one. To type an exact value, use the number field next to the slider. Rename the poses through each pose's **More** › **Rename…**: *Front*, *Three-quarter*, *Side*. Leave *Front* empty, so it looks like Rest. ## 5. Edit the Three-quarter pose 1. Tap the *Three-quarter* row. 2. A banner confirms that you are editing the pose at 45° and that Rest is unchanged. 3. Change the artwork with the usual tools: - slide the eyes, snout, nose and mouth toward the turn - scale the far eye and far brow narrower on X - narrow the shirt and shorts - turn the arm and leg **bones**, not their groups, attached artwork follows its bone 4. Tap **Done**. The whole edit becomes one undo step, *Edit Pose "Three-quarter"*. Rest is never touched. What a pose can store: - position, rotation, scale and opacity - fill and stroke colour, stroke width - shape size and corner radius - path points, when the number of points stays the same - bone rotation, length and joint position, IK target position - stack order and which drawing a Swap Group shows (steps 7 and 8) ## 6. Edit the Side pose Tap *Side* and push the same changes further: the face moves to the edge of the head, the far eye almost disappears, the arms hang by the body. Tap **Done**. Now drag the slider slowly from 0 to 90. Cody turns. Positions, angles and colours change smoothly between poses. > Note: Between poses you can only look. At, say, 20°, a banner says you are previewing and edits are off. Kineto never writes an edit into Rest or makes a pose by accident. Tap Add Pose at 20° to edit there. ## 7. Put the far parts behind the head A far eye that fades out shows a ghost halfway. Hide it behind the head instead: 1. Open *Side*. 2. In the Scene panel, drag the far eye, far brow and far ear below *Head bg*. 3. Tap **Done**. Stack order is a **switch**, not a blend. It changes at the midpoint between two poses, 67.5° between 45° and 90°, and scrubbing back gives the same frame at the same value. A pose only reorders layers inside their own group. A part can go behind the torso if both sit in *Body*; it can never leave its group. The same trick puts the near arm in front of the shirt in *Three-quarter*. ## 8. Swap a drawing (optional) Some views need a new drawing, not a bent one. A path whose point count changes cannot morph; Kineto keeps it at Rest and shows *Point count changed, kept at Rest*. To swap a drawing instead: 1. At Rest, select the front arm and the turned arm drawing. 2. In the Inspector, tap **Make Swap Group…**, name the group *Near arm* and each drawing, and confirm. 3. Open *Three-quarter*, and in **Shows** tap the turned arm. 4. Tap **Done**. The pose row now reads *Near arm → Turned*. The swap is hard: at the midpoint one drawing replaces the other, with no frame where both show. Attach both drawings to the same bone, so the swapped arm still swings from the shoulder. ## 9. Animate the turn 1. Leave the component (**Back to …** in the scope bar). 2. Switch to **Animate** and create a clip *Turn Right*, 12 frames. 3. Select the Cody instance. In the Inspector, **Controls** shows *Turn Angle*. 4. At frame 6, set Turn Angle to 45 and tap the keyframe diamond. 5. At frame 10, set it to 90 and key it. Key 90 again at frame 12 to hold. The first key after frame 0 also keys the current value at frame 0. The timeline shows one *Turn Angle* row, not a track for every eye and arm. Play the clip. Cody turns right. ## 10. A second Cody at its own angle 1. Place a second Cody instance from the Components panel. 2. In Design, set its Turn Angle in **Controls** to 20. Each instance keeps its own value. The Pose panel inside the source tells you how many instances follow it. ## 11. Walk after the turn (optional) A component clip can still move the bones while a pose is active: - A clip **replaces** the pose per property. A walk that keys the leg bone rotations wins over the pose's leg angles; the face and body keep their posed shapes. - So author the walk for the view it plays in: swing the legs around the angles *Three-quarter* or *Side* gives them. - Use the instance's **Animation Sequence** to start *Walk* after the turn. A component's first clip plays by default on an instance that plays nothing. ## 12. Export - **MP4, GIF and SVG** show everything exactly as the editor does. - **`.kvk` runtime package** bakes the poses into ordinary tracks. Three things do not reach the runtime yet, and the export pre-flight warns about each: - a Swap Group exports all its drawings - stack order that changes during a clip - joint positions that move during a clip See [Known Limitations](/docs/limitations/). ## Common mistakes ### My edit did nothing / was refused The slider is between poses. Tap a pose row first, or add a pose at that value. ### Two drawings show at once halfway You hid one with opacity. Use stack order (step 7) or a Swap Group (step 8). ### A path snaps instead of morphing The two poses have a different number of points on that path. Redraw it with the same points, or swap drawings. ### The arm floats away from the shoulder You moved the arm's group. Undo, and turn or move the bone instead. ### The walk ignores the turn That is clip-replaces-pose: the walk keys the same bones. Author the walk around the turned angles. ### Cody starts walking when I only want the turn The component's first clip plays by default. Set the instance's clip to none, or sequence the walk after the turn. ## What to learn next - [Timeline Guide](/docs/timeline/): easing on the Turn Angle keys - [Bones & IK](/docs/bones-ik/): limb chains with knees and elbows for a walk - [Export Overview](/docs/export/): what reaches each format # Animate a Character Walk Cycle on iPad Source: https://kineto.keyvotion.com/tutorials/walk-cycle-ipad/ A walk cycle is a repeating animation of a character taking steps. Kineto lets you build the vector artwork, rig the limbs and animate the cycle on the iPad. ## Watch the tutorial [Character Walk Cycle Animation on iPad – Draw, Rig & Animate](https://www.youtube.com/watch?v=mCW_8aVvI6U) (12:46). [Watch the short preview on YouTube](https://www.youtube.com/shorts/tAoCH1frfj8) (0:19). ## Build your own walk cycle 1. **Prepare the artwork.** Keep the torso, head, upper and lower arms, hands, upper and lower legs and feet separate so that joints can move independently. 2. **Rig the character.** Position the bone joints at the hips, knees, ankles, shoulders and elbows. Check that artwork follows the intended bones before animating. Use inverse kinematics where you want to pose an end target. 3. **Block the motion.** Plan contact, down, passing and up poses for each step. Set keyframes for the main body and limbs, then preview before adding detail. 4. **Make the cycle repeat.** Match the last pose to the first, check foot placement and scrub across the loop boundary. Adjust timing and easing if the motion visibly jumps. 5. **Preview and share.** Test the animation at its intended speed. See the export guide for the formats and Pro requirements. ## Common problems - Feet slide: compare foot positions and timing through the planted part of a step. - Limbs rotate around the wrong point: revisit the bone joints or pivots. - The loop jumps: check that the first and final poses match. ## Related guides - [Bones & IK](/docs/bones-ik/) - [Timeline Guide](/docs/timeline/) - [Export Overview](/docs/export/) # Animate a Day and Night Toggle on iPad Source: https://kineto.keyvotion.com/tutorials/day-night-toggle-ipad/ An animated toggle communicates a change between two values. An interactive version also responds to an input rather than playing a fixed movie. ## Watch the tutorial [How to Create an Animated Day & Night Toggle on iPad](https://www.youtube.com/watch?v=_USlsxYCphc) (6:12). [Watch the short preview on YouTube](https://www.youtube.com/shorts/Ooygd0okyhg) (0:16). ## Build your own toggle 1. **Draw both visual states.** Create the track, movable thumb and day/night symbols. Keep independently animated shapes on separate layers. 2. **Plan the transitions.** Make the two end poses and use keyframes to animate position, rotation, opacity or color as appropriate. 3. **Connect the behavior.** Use named clips in the Logic workspace and a boolean input to distinguish day from night. Set conditions for the two directions. 4. **Test touch.** Add a target where the user should interact and verify both directions in the Test Preview. Check that the input and active state agree. 5. **Choose the output.** A movie or GIF shows one sequence; a compatible runtime can respond to input using a .kvk file. ## Common problems - The toggle changes only once: check that both transition directions exist. - The thumb moves unexpectedly: check its pivot and position keyframes. - The result is not interactive after export: distinguish a rendered animation from a runtime package. ## Related guides - [Timeline Guide](/docs/timeline/) - [State Machines](/docs/state-machines/) - [What is .kvk](/docs/kvk/) # Animate an Interactive Mood Mascot on iPad Source: https://kineto.keyvotion.com/tutorials/mood-mascot-ipad/ An interactive mascot can react to events with different expressions instead of repeating one fixed animation. Start with a small set of moods and decide what should trigger each change. ## Watch the tutorial [How to Create an Interactive Mood Mascot on iPad](https://www.youtube.com/watch?v=khK0fHSTjp4) (5:46). [Watch the short preview on YouTube](https://www.youtube.com/shorts/46JK0lohZqM) (0:16). ## Build your own mascot 1. **Design the character.** Separate expressive features such as eyes, eyebrows and mouth so they can be animated independently. 2. **Create mood poses.** Use the timeline to establish a neutral expression and the expressive clips you want. 3. **Define inputs.** Choose meaningful names for boolean or trigger inputs. Decide which states should respond to which input. 4. **Build the state machine.** Connect the clips with transition conditions and decide when the mascot returns to its neutral state. 5. **Test the behavior.** Trigger each mood and repeat the interactions to check that the mascot does not get stuck in a state. ## Common problems - A reaction never starts: verify the input name and transition condition. - The mascot stays in a mood: add or correct the return transition. - Expressions look abrupt: inspect the clip timing and easing. ## Related guides - [State Machines](/docs/state-machines/) - [Targets & Constraints](/docs/targets-constraints/) - [Interactive Animation on iPad](/guides/interactive-vector-animation-ipad/) # Create an Animated Like Button on iPad Source: https://kineto.keyvotion.com/tutorials/like-button-ipad/ A like button can provide a clear moment of feedback when someone taps it. A small motion or burst helps emphasize the change without obscuring the interface. ## Watch the tutorial [How to Create an Animated Like Button on iPad](https://www.youtube.com/watch?v=8QLcUAj5sLU) (5:40). [Watch the short preview on YouTube](https://www.youtube.com/shorts/5eI0ZubcvYo) (0:16). ## Build your own like button 1. **Create the icon.** Draw the heart and keep decorative burst shapes separate. 2. **Plan the feedback.** Use a short sequence of scale, position and opacity keyframes to emphasize the tap. Keep the final icon readable. 3. **Adjust the timing.** Preview the motion and tune easing; the action should feel responsive rather than delay feedback. 4. **Add optional interaction.** Use a boolean for liked/unliked behavior and connect suitable clips in Logic. Verify the return behavior separately. 5. **Preview and export.** Test repeated taps and choose a rendered export or a runtime package according to your intended use. ## Common problems - The heart expands around an unexpected point: check the pivot. - Burst shapes remain visible: check their final opacity or position. - Repeated taps behave inconsistently: review the transition rules in the state machine. ## Related guides - [Timeline Guide](/docs/timeline/) - [State Machines](/docs/state-machines/) - [Export Overview](/docs/export/) # Interactive Vector Animation on iPad Source: https://kineto.keyvotion.com/guides/interactive-vector-animation-ipad/ An interactive animation changes based on what someone does: tap an eye and a bear winks. This guide explains how that works in Kineto, so you can decide if it fits your project. Find the iPad editor on the [App Store](https://apps.apple.com/app/id6831636372). ## Video or interactive animation? | | Video or GIF | Interactive animation | |---|---|---| | What you make | One fixed sequence | Clips, plus rules for when each one plays | | What decides what's next | The timeline | Taps and values from your app | | Output from Kineto | MP4, MOV or GIF, from the **Animate** tab | A `.kvk` file, from the **Logic** tab | | Where it plays | Anywhere video or GIF works | In an app or web page with the Kineto runtime | Choose interactive animation when the motion has to respond. For a fixed intro or a social post, a video is simpler. ## A real example: Cody Cody, the bear on the [Kineto homepage](/), was made this way, and he's running in your browser there. Tap one of his eyes to see the result. He's built from four parts: 1. **Artwork:** an SVG imported into Kineto. 2. **Clips:** `Idle`, `Wink left` and `Wink right`. 3. **A state machine:** it decides which clip plays. It has three states, two inputs and four transitions. 4. **Targets:** a tappable region over each eye sets an input. Screenshot: Cody's state machine in the Logic tab, with the states Idle, Wink and Wink right joined by four transitions. ## How you build one Each step happens in one tab of the editor. | Step | Tab | What you do | Learn more | |---|---|---|---| | Create | **Design** | Draw shapes or import SVG artwork | [Animate SVG on iPad](/guides/animate-svg-ipad/) | | Animate | **Animate** | Make a named clip for each behavior | [Quick Start](/docs/quick-start/) | | Interact | **Logic** | Link clips to states and add inputs | [State Machines](/docs/state-machines/) | | Test | **Logic** | Try every path in the Test Preview | [State Machines](/docs/state-machines/) | | Ship | **Logic** | Export a `.kvk` file | [What is .kvk](/docs/kvk/) | You can test on the iPad before you write any code. The fullscreen Test Preview shows what a finger can touch and which state is active. Screenshot: The fullscreen Test Preview, paused during Cody's wink, with the state Wink and the input tapped-left-eye switched on. ## What to check first - **Availability:** the [runtime source](https://github.com/HBrinkman/kineto-runtime) is public and the [Flutter package](https://pub.dev/packages/kineto_runtime) is a pre-release; verify each target before shipping. - **Web drawing:** the web runtime draws less than the iOS runtime. It doesn't draw text or images, for example. - **Conditions:** transitions can read bool inputs, triggers and exit time. They can't compare numbers. - **Platforms:** the editor is iPad only, and Android is planned after v1.0. [Known Limitations](/docs/limitations/) has the full support table. ## What to read next - [Quick Start](/docs/quick-start/): make your first animation in 5 minutes - [Add Animations to SwiftUI](/guides/interactive-animations-swiftui/): connect an animation to your app # Animate SVG Artwork on iPad Source: https://kineto.keyvotion.com/guides/animate-svg-ipad/ You already have an illustration and you want it to move. Most of the work happens before the first keyframe: deciding which parts move, and making sure your file keeps them separate. Find the iPad editor on the [App Store](https://apps.apple.com/app/id6831636372). For the exact import steps, see [Importing SVG](/docs/svg-import/). ## Decide what moves Before you export from your drawing app, write down the motion you want and the parts it needs. | Motion you want | Parts that must be separate | |---|---| | A character blinks | Each eye white, each pupil and a closed-eye shape | | A head turns | The head as one group, separate from the body | | An arm waves | Upper arm, forearm and hand | | A logo draws itself | Each line as its own stroke, not an outlined shape | A part can only move on its own if it's its own object in the file. If your SVG merges an eye and a face into one path, fix that in your drawing app first. ## Prepare the file - **Keep moving parts in their own groups.** Name them, for example `eye-left` and `arm-right`. - **Remove what you don't need.** Hidden layers and leftovers only make the Scene panel harder to read. - **Convert text to paths for the web.** The web runtime doesn't draw text. - **Keep effects simple.** Blur doesn't reach either runtime, and the web runtime has no shadows. ## Check it after import The **Import SVG** dialog shows how many objects your file holds, and warns about anything it can't import. Cody's file holds 165 objects. After the import, open the **Scene** panel and look for the parts on your list. Screenshot: Cody the bear on the artboard after import, with his groups listed in the Scene panel. If a part is missing, go back to your drawing app. That's quicker than working around it later. ## Start with one small motion Test your artwork with the smallest motion on your list. It shows early whether the structure and pivots work. Cody's wink is a good size to copy. The `Wink left` clip is half a second long, and all its keyframes fall in the first 0.22 seconds: - **Scale Y** on one shape, with four keyframes - **Opacity** on a second shape, with four keyframes So a believable wink only needs two properties on two shapes. Screenshot: Cody in the Test Preview in the middle of a wink. His left eye is closed to a thin line and his right eye is open. Check the pivot before you add keyframes. An eye should close around its center, and an arm should turn from the shoulder. ## What to read next - [Importing SVG](/docs/svg-import/): the import steps, with screenshots - [Bones & IK](/docs/bones-ik/): when moving parts need a skeleton - [Interactive Animation on iPad](/guides/interactive-vector-animation-ipad/): make the motion respond to taps # Interactive Animations in SwiftUI Source: https://kineto.keyvotion.com/guides/interactive-animations-swiftui/ This guide shows how a Kineto animation fits into a SwiftUI app: your code sets named inputs, and the file decides which animation plays. You can change the motion without changing your view code, as long as the input names stay the same. > Source preview: The iPad editor is listed on the [App Store](https://apps.apple.com/app/id6831636372). The [runtime source is public](https://github.com/HBrinkman/kineto-runtime), with source-build prerequisites for Swift and pre-release APIs. The separate [Flutter pre-release package is published on pub.dev](https://pub.dev/packages/kineto_runtime). See [iOS Playback](/docs/ios-playback/) for installation. For every API call, UIKit and error handling, see [iOS Playback](/docs/ios-playback/). ## Agree on the inputs first The inputs are the contract between the designer and the developer. Write them down before anyone starts animating. | Your app knows | Input | Type | |---|---|---| | A one-time event happened | `didSucceed` | Trigger | | Something is on or off | `isLoading` | Bool | Use names that describe your app, not the animation. `isLoading` still makes sense when the animation changes, but `spinFast` might not. Transitions can't compare numbers. If your app has a value like speed, turn it into bools in your code. See the [character example](/docs/state-machines/#character-example). When you export the `.kvk`, keep the handoff option on. The handoff notes list the machine id and the inputs. ## Show the player `KinetoPlayer` holds the animation, and `KinetoPlayerViewController` draws it. SwiftUI needs a small wrapper: ```swift struct KinetoPlayerView: UIViewControllerRepresentable { let player: KinetoPlayer func makeUIViewController(context: Context) -> KinetoPlayerViewController { KinetoPlayerViewController(player: player) } func updateUIViewController(_ controller: KinetoPlayerViewController, context: Context) {} } ``` The view controller draws every frame and handles touches on the artwork, so taps on targets work without more code. ## Connect an app event Keep one `KinetoPlayer` in your view, and set inputs from your actions. This example uses [cody.kvk](/kineto/cody.kvk), the file from the homepage. It holds the input for 0.22 seconds, like a quick tap. ```swift private func wink(_ input: String) { guard let player else { return } do { try player.setBool(true, input: input, in: Self.machineID) DispatchQueue.main.asyncAfter(deadline: .now() + 0.22) { try? player.setBool(false, input: input, in: Self.machineID) } } catch { errorMessage = String(describing: error) } } ``` The bool has to go back to false, because that's Cody's condition for returning to Idle. A state doesn't return on its own when its clip ends. The complete view is in [iOS Playback](/docs/ios-playback/#show-the-player-in-swiftui). We ran it on a physical iPad. ## Test on a device Use a real device. On the iOS Simulator, the player view closes the app, because the Simulator's Metal lacks a feature the renderer needs. ## What to read next - [iOS Playback](/docs/ios-playback/): the complete example and every call - [State Machines](/docs/state-machines/): how transitions decide what plays - [Known Limitations](/docs/limitations/): what the iOS runtime supports