Skip to content

Kinetic ​

A field-notes card that responds to touch, follows a changing scale and lands in three places. Drag and catch it during release, or use Left/Center/Right. Retarget while held changes the application scale without replacing the press contribution. Remove the card while it moves and mount it again with a fresh motion lifetime.

Open Kinetic ↗

Open notes presents the same Sheet content on both platforms. Web uses Jolt on a dedicated handle; native keeps its bottom-sheet implementation. These are local demonstrations, with no persistence or network calls.

The repository requires Jolt 0.1.0-rc.6 for this integration. Read the experimental contract.

Shared recipe ​

ts
import type { MotionSurface } from '@getcortexlabs/mavis-core/experimental'

export const kineticStops = [-40, 0, 40] as const

/** This recipe runs unchanged in the browser and on native views. */
export function createKineticMotion(surface: MotionSurface) {
  const scale = surface.motionValue(1)
  const follower = surface.springValue(scale, { stiffness: 160, damping: 18 })
  surface.bind({
    scale: follower,
    y: follower.to([0.94, 1, 1.08], [12, 0, -16]),
    opacity: follower.to([0.94, 1, 1.08], [0.65, 1, 1]),
  })
  const drag = surface.drag({
    axis: 'x',
    bounds: { left: -40, right: 40 },
    snap: { x: kineticStops },
  })
  surface.animate({ rotate: [-4, 0] }, { type: 'spring', duration: 550, bounce: 0.15 })
  return {
    scale,
    follower,
    drag,
    move(x: number) {
      drag.cancel()
      return surface.animate({ x }, { type: 'spring', duration: 450, bounce: 0.12 })
    },
  }
}

Recordings ​

Actual OS/browser input at original speed, with English controls. The recordings were reviewed; simulator/emulator footage is not a physical-device benchmark. Web and native have different gesture recognizers and release physics.

NativeScript-Vue · iPhone 17 Pro · iOS 26.2 simulator

NativeScript-Vue · Pixel 7 · Android 16 / API 36 emulator

Vue Web · Chromium · 390 × 844 CSS pixels

Components for NativeScript and Web. Starting with Vue.