Skip to content
プロジェクト

概要

Backend agnostic motion graphics creation framework.

デザイン・メディア

この数値の測り方

できること

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

計測したスター増加

24時間
0
7日間
0
15日間
+1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…