example-signals-animation
Installation
SKILL.md
Signals Animation
Helios exposes a Signal-based reactivity system (similar to SolidJS or Preact Signals) for managing state efficiently.
Quick Start
import { Helios, computed, effect } from '@helios-project/core';
const helios = new Helios({ duration: 10, fps: 60 });
// Access signals directly
const frame = helios.currentFrame; // ReadonlySignal<number>
// Create computed values
const rotation = computed(() => {
return (frame.value / 60) * 360; // Rotate 360 deg per second
});