Skip to content

Field Guide ​

A reading scene whose position, scale and opacity follow the scrolling Screen. Change shape or type, interrupt one channel, remove the scene and reconnect it: the same source runs in Vue Web and NativeScript-Vue.

Open Field Guide ↗

Experimental contract. Requires Jolt 0.1.0-rc.6; rebuild native applications after upgrading.

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

/** The adapters resolve the scrolling Screen and the component's platform surface. */
export function createFieldMotion(
  source: MotionScrollSource,
  surface: MotionSurface,
  execution: MotionScrollOptions['execution'] = 'auto',
) {
  return surface.scrollLinked(
    source,
    {
      y: [0, 80],
      scale: [1, 0.9],
      opacity: [1, 0.35],
    },
    { range: [0, 240], execution },
  )
}

Actual OS/browser input, original speed, English controls. Simulator/emulator recordings do not replace physical-device testing.

NativeScript-Vue · iPhone 17 Pro · iOS 26.2

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

Vue Web · Chromium · 390 × 844

Components for NativeScript and Web. Starting with Vue.