Skip to content

About

MotionForge — free, open-source keyframe animation compositor for Android. A clean-room After Effects alternative: layers, keyframes, easing, blend modes, MP4 + GIF export.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

🎬 MotionForge

The free, open-source motion graphics studio for Android — a clean-room alternative to Adobe After Effects.

License: MIT Platform: Android minSdk targetSdk Release

Animate anything: keyframe-driven motion graphics, layered compositing, 12 blend modes, and real MP4 + GIF export — all on your phone, all open source.


Download

Get the APK from the Redstone Labs releases page — every app in one place:

⬇ Download from redstone-labs.vercel.app/releases

(GitHub releases here carry the source and changelog; the ready-to-install APKs live on the releases page.)

✨ Features

🎞️ Composition

  • Composition presets — Full HD 1920×1080, HD 720p, vertical 9:16, square 1:1, 4:3, SD, plus fully custom sizes
  • Up to 60 fps, durations up to 10 minutes, custom background color
  • Playback preview — renders exactly what gets exported, loops like After Effects

🗂️ Layers (After Effects order: top of the list = top of the stack)

  • Solid color layers
  • Text layers — 7 built-in typefaces, multiline, custom colors & sizes
  • Shapes — rectangles and ellipses with independent width/height
  • Images — PNG/JPG/WebP/GIF imported from your gallery
  • Video clips — rendered with true per-frame sampling on export
  • Per-layer: visibility, lock, 12 blend modes (Multiply, Screen, Overlay, Hard/Soft Light, Color Dodge/Burn, Difference…), in/out points, z-order reorder, duplicate, rename

💎 Keyframe animation

  • 6 animatable properties: position X/Y, scale X/Y, rotation, opacity
  • Keyframe tracks per property with draggable diamond keyframes on an After Effects-style timeline
  • 10 easing curves — Linear, Ease, Ease In/Out/In-Out, Cubics, Back Out (spring), Bounce Out, Smooth — editable per keyframe (double-tap a diamond)
  • Move keyframes by dragging; tap-to-seek playhead scrubbing

📤 Export

  • MP4 (H.264 via hardware encoder, EGL surface injection — real video files, not screen recordings), 640–1920 px wide, 15–60 fps
  • Animated GIF (pure-Kotlin LZW encoder — verified bit-for-bit against the GIF spec), 240–720 px wide, 1–30 fps
  • Real progress bar with live render progress and cancel support
  • Exports land in Downloads/MotionForge
  • Projects save/load as portable JSON (files/projects/)

⏪ Undo/redo

50-step undo history across structural edits.


🚧 Honest limitations (v1.0)

  • No audio export. Video layers are rendered mute; audio tracks are not supported yet.
  • No expressions or plugins. Keyframe tracks only — no scripting, no third-party effects.
  • No 3D. Layers are 2D with rotation; no camera or 3D transforms.
  • GIFs are capped at 240 frames / 720 px to keep memory sane on phones.
  • Long 1080p exports can take a while — rendering is frame-by-frame.

🛠️ Build

# Requirements: JDK 17, Android SDK 36, Gradle 8.10.2
export JAVA_HOME=<jdk17>
export GRADLE_USER_HOME=~/.gradle-motionforge
gradle assembleDebug --no-daemon

The APK lands at app/build/outputs/apk/debug/app-debug.apk.


🏗️ Architecture

app/src/main/java/io/github/rustys90/motionforge/
├── model/       # Project/Composition/Layer/KeyFrame models, easing curves,
│                #   keyframe interpolation, JSON save/load (JsonIO)
├── render/      # CompRenderer — one Canvas code path drives preview AND
│                #   export, so WYSIWYG is guaranteed by construction
├── media/       # MediaFiles — internal-storage import, bitmap cache,
│                #   video posters + per-frame sampling
├── export/      # Mp4Exporter (MediaCodec + EGL input surface) and
│                #   GifExporter (hand-written GIF89a + LZW)
├── state/       # EditorState — undo history, selection, playback, persistence
└── ui/          # Compose UI: preview, keyframe timeline, layers & properties

📜 License

MIT — free forever. See LICENSE.

📝 Changelog

See CHANGELOG.md.

About

MotionForge — free, open-source keyframe animation compositor for Android. A clean-room After Effects alternative: layers, keyframes, easing, blend modes, MP4 + GIF export.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages