Skip to main content
Helios works perfectly with vanilla JavaScript, giving you complete control without framework overhead.

Quick start

1

Install Helios

2

Create your first animation

main.ts
3

Add animation logic

Animation approaches

Directly manipulate DOM elements in the subscribe callback:

Animation helpers

Use Helios utility functions for common animation patterns:

Manual sequencing

Implement sequences with conditional logic:

Advanced patterns

Multiple animations

Orchestrate multiple elements:

State machines

Implement complex animation states:

Best practices

Query DOM elements once, not in every frame:
For interactive animations, combine with requestAnimationFrame:
Enable external control for rendering and playback:
Unsubscribe when removing animations:

TypeScript support

Helios is built with TypeScript and provides full type safety:

Next steps

Animation helpers

Learn about interpolation, spring physics, and easing functions

Canvas rendering

Create high-performance canvas animations

Sequences

Build complex multi-scene animations

Export videos

Render your animations to video files