Skip to content
Proyectos

Acerca de

Backend agnostic motion graphics creation framework.

Diseño y multimedia

Cómo se miden estas cifras

What you can do

  • 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.

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

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.

Explorar proyectos relacionados

Cargando…