#opengl #2d #graphics

inochi2d

Pure Rust implementation of Inochi2D, the realtime 2D puppet animation framework

2 releases

0.1.1 Dec 21, 2022
0.1.0 Nov 16, 2022

#79 in Data formats

MPL-2.0 license

43KB
1K SLoC

inochi2d-rs

crates.io docs.rs License Join the XMPP chat at inochi2d@muc.linkmauve.fr

A pure Rust implementation of Inochi2D, the realtime 2D puppet animation framework.

This is currently done using serde_json for parsing, as well as GLFW and glow for the rendering, using OpenGL ES 2.0.

How to use

Clone the repository:

% git clone https://git.linkmauve.fr/inochi2d.git

Build:

% cargo build --release

Run:

% cargo run --release --example=render <puppet.inp>

You can find two example puppets in Inochi2D’s example models.

TODO

  • Rendering (at least for those two models)
  • Physics
  • Animations
  • Face tracking

Screenshots

Dependencies

~15MB
~152K SLoC