Files
Sergio d251eb32b6 chore: refresco desde el monorepo — vello 0.9 / wgpu 29, 120 miembros
El repo publico se habia quedado en julio: el README anunciaba vello 0.7 +
wgpu 27 (dos bumps atras) y faltaban los crates del ultimo mes.

- refresco con scripts/actualizar-standalone.py --llimphi (cargo check OK)
- llegan llimphi-cpu, llimphi-hybrid, llimphi-glifos y llimphi-wire-escena:
  los cuatro caminos a pixeles con un solo compositor
- MANUAL.md / SDD.md / LEEME.md sincronizados con el monorepo
- README: versiones al dia, install por crates.io (cargo add llimphi),
  seccion "beyond the 2D widget kit" y el indice de crates que apuntaba
  al propio README ahora apunta a MANUAL.md §19
2026-08-06 17:26:11 +00:00
..

llimphi-lottie

A thin bridge between velato (Linebender's Lottie player) and Llimphi.

llimphi-svg covers arbitrary static vector art (.desktop icons, logos). llimphi-motion covers motion generated by code (tweens over the Elm loop). This crate covers the gap in between: vector animation authored elsewhere — the Lottie .json files designers export from After Effects / lottiefiles (animated icons, illustrations, empty states, onboarding).

It is the twin of llimphi-svg with a time axis: velato parses the JSON into a Composition and, for a given frame, emits into the same vello::Scene that llimphi-raster uses.

Use

use llimphi_lottie::LottieAsset;
use std::time::Duration;

// Parse ONCE (when loading the app):
let anim = LottieAsset::from_str(include_str!("spinner.json")).expect("valid lottie");

// The app keeps the elapsed time in its state and advances it with the Elm
// loop — exactly the pattern of the simulation workers:
//   handle.spawn_periodic(Duration::from_millis(16), || Msg::Tick);

Part of llimphi — see llimphi.