Skip to content
jolt.
← Recipes

VISUAL EFFECTS / iOS / NATIVESCRIPT VUE

Change the atmosphere.

Color, light and direction, always in motion.

Native recording · iOSiOS 26 simulator · native playback with actual XCTest input, original speed. Not a physical-device performance measurement.

The motion behind it.

Jolt 0.1.0-rc.11

The core API example, taken directly from the guide. Use the full demo for the surrounding interface and controls.

TypeScript · NativeScript
import { gradient } from '@rafaelaugusto/jolt'

const glow = gradient(card, {
  type: 'radial',
  colors: ['#A78BFA', '#0F172A'],
  center: { x: 0.3, y: 0.3 },
  radius: 0.45,
})

glow.animate({ center: { x: 0.7, y: 0.7 }, radius: 0.9 }, { duration: 1400 })
View full demo ↗

Read the full guide ↗