VISUAL EFFECTS / iOS / NATIVESCRIPT VUE
Change the atmosphere.
Color, light and direction, always in motion.
The motion behind it.
Jolt 0.1.0-rc.11The 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 })