Skip to content
Projetos

Sobre

Backend agnostic motion graphics creation framework.

Design e mídia

Como estes números são medidos

O que você pode fazer

  • Backend agnostic: MotionGfx describes what changes and leaves drawing to the backend.
  • Just code: Scenes are plain Rust, built with loops, functions and variables.
  • Relative actions: Each action starts from the field's current value, so steps chain naturally.
  • Two-way playback: Play at any speed, in either direction, or jump to any frame without re-simulating.

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
+1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

MotionGfx

License Crates.io Downloads Docs CI Discord

MotionGfx is a backend-agnostic motion graphics creation framework. Free and open-source forever.

Ten bars grow upward one after another, then play back in reverse.

Features

  • Backend agnostic: MotionGfx describes what changes and leaves drawing to the backend.
  • Just code: Scenes are plain Rust, built with loops, functions and variables.
  • Relative actions: Each action starts from the field's current value, so steps chain naturally.
  • Two-way playback: Play at any speed, in either direction, or jump to any frame without re-simulating.
  • Batteries included: Common easing and interpolation functions are built in.

Example

// Move a ball up, then back down.
let track = [
    b.act(ball, path!(Ball.y), |_| 30.0)
        .with_ease(ease::quad::ease_out)
        .play(ms(600)),
    b.act(ball, path!(Ball.y), |_| 140.0)
        .with_ease(ease::quad::ease_in)
        .play(ms(600)),
]
.ord_chain()
.compile();

A ball rises with an ease-out, then falls with an ease-in.

Where Next

Inspirations and Similar Projects

License

motiongfx is dual-licensed under either:

This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.

Explore projetos relacionados

Carregando…