Mirage is a Jetpack Compose library offering 29 zero-dependency AGSL shaders for animated gradients, noise fields, and image filters that run entirely on the GPU.

Stars

37

7-day growth

No data

Forks

2

Open issues

0

License

Apache-2.0

Last updated

2026-07-05

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It brings production-quality, WebGL-like procedural graphics and image filters to native Android without requiring WebView, GL surfaces, or external assets, using idiomatic Compose APIs.

Who it is for

  • Android developers using Jetpack Compose
  • UI designers needing GPU-accelerated visual effects
  • Developers building animated backgrounds or image processing apps
  • Open-source contributors interested in AGSL shader development

Use cases

  • Create animated mesh gradients or metaballs as composable backgrounds
  • Apply water, halftone, or paper texture filters to images via Modifier extensions
  • Add glowing borders or pulsing effects to UI components
  • Generate static or animated noise fields for dynamic wallpapers

Strengths

  • Zero runtime dependencies beyond Compose itself
  • All shaders are GPU-accelerated via AGSL RuntimeShader, with static shaders having zero per-frame cost
  • Fully parameterized with shared controls (speed, sizing, animation offset) and default presets
  • Includes both procedural fill composables and Modifier-based image filters that work on any composable content

Considerations

  • Requires Android 13 (API 33) to render shaders; fallback logic needed for older devices
  • Animated shaders incur a small per-frame uniform update cost, though static shaders are free
  • Shader algorithms are derived from Paper Shaders (GLSL to AGSL translation), not original work

README quick start

Usage

Description

✨ 29 ultra-fast, zero-dependency AGSL shaders for Jetpack Compose — animated gradients, noise fields, and image filters that run entirely on the GPU.

Related repositories

Similar projects matched by category, topics, and programming language.

Sylvara-Lin
Sylvara-Lin GitHub avatar

LianYu-app

An open-source Android framework for building AI companion apps, offering a modular architecture, multiple AI provider support, local model inference, and a complete product skeleton including chat, role management, memory, and group chat systems.

Kotlin
172
MarshallBear1
MarshallBear1 GitHub avatar

react-native-system-thumbnails

A React Native library that generates OS-native thumbnails for local files with a single API, falling back to file icons when needed.

Kotlin
114
doesthings
doesthings GitHub avatar

FreeFCC

FreeFCC is a free, open-source Android app that unlocks FCC mode on DJI smart controllers by sending raw DUML commands from JSON profiles, without servers or tracking.

Kotlin
113