FletchMcKee / liquid
Liquid RuntimeShader effects for Compose Multiplatform
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing FletchMcKee/liquid in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewLiquid **Liquid** unlocks a new capability for Compose Multiplatform: letting modifier nodes sample and manipulate the pixels behind them. By tagging nodes as , you can create effects that distort the underlying content in a way that isn't normally possible with Compose's rendering pipeline. This enables Liquid Glass-style effects like dynamic frosted glass, lenses, and other distortions. Powered by RuntimeShaders/RuntimeEffects and ModifierNodeElement APIs, it delivers GPU-accelerated visuals to your Compose UI. Quick Start **Add and Liquid to your list of repositories and dependencies:** Below is a simple implementation: See full documentation here. Acknowledgements • The Haze library developed by Chris Banes was a large source of inspiration, particularly for the use of content and effect nodes. • The original liquid lens effect was inspired by ShaderToy user 4eckme with their Liquid Glass example. • The current spherical liquid lens effect was inspired by GitHub user Kyant0 with their own AndroidLiquidGlass library. • The dispersion effect was inspired by ShaderToy user PuZo with their Chromatic Aberration example. • Tobias Bjørkli @tobiasbjorkli for the northern_lights.webp • Vlad Alexandru Popa @vladalex94 for the ny_city.webp. • Romain Guy romainguy.dev for the dotonbori.webp. • Efrem Efre @efrem-efre-2786187 for the prague_clock.webp. License