Releases: AndroidPoet/mirage
Releases · AndroidPoet/mirage
Release list
0.1.0 — Compose Multiplatform
Mirage is now a Compose Multiplatform library — 29 GPU shaders running on Android, iOS, Desktop (JVM), and Web (wasmJs).
Install
implementation("io.github.androidpoet:mirage:0.1.0")What's new
- Cross-platform shader engine via
expect/actual: Android usesRuntimeShader(AGSL); iOS/Desktop/Web use SkiaRuntimeShaderBuilder(SkSL). - Both render paths work on every platform: procedural fill (
MirageSurface) and image-filter (Modifier.mirageEffect). - All 29 shaders verified rendering on Skia; Android keeps its identical, unchanged GPU path.
- Graceful degradation: unsupported shaders render empty and log instead of crashing (Android below API 33 included).
Targets
android · jvm · iosArm64 · iosSimulatorArm64 · wasmJs
v0.1.0
First release of Mirage — 29 ultra-fast, zero-dependency AGSL shaders for Jetpack Compose.
Install
implementation("io.github.androidpoet:mirage:0.1.0")What's inside
- Procedural composables —
MeshGradient(),Metaballs(),Voronoi(),NeuroNoise(),GodRays(),Swirl(),Warp(),Waves()and more; each fills its bounds. - Image-filter modifiers —
Modifier.water(),Modifier.liquidMetal(),Modifier.halftoneCmyk(),Modifier.flutedGlass(),Modifier.heatmap()… applied to any composable content. - Zero dependencies beyond Compose. No WebView, no GL surface, no assets.
- Static shaders cost nothing per frame; animated ones drive a single time uniform.
Requirements
Rendering requires Android 13 (API 33); library minSdk is 21 — gate usage with Build.VERSION.SDK_INT >= 33.