SkillAgentSearch skills...

KmpShaderWaveDistortion

No description available

Install / Use

/learn @HarukeyUA/KmpShaderWaveDistortion
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Wave Distortion Demo

A Compose Multiplatform application demonstrating a wave distortion effect using a RuntimeShader (AGSL/SKSL).

This project showcases complex visual effects in Compose Multiplatform that work across Android, iOS, Desktop (JVM), and Web (Wasm).

Features

  • Interactive Ripple Effect: Tap anywhere on the image to trigger a wave distortion ripple.
  • Real-time Customization: Adjust shader parameters dynamically using the control panel:
    • Amplitude: Controls the strength of the distortion.
    • Angular Frequency: Adjusts the frequency of the waves.
    • Decay Rate: Determines how quickly the ripple fades out.
    • Wave Speed: Controls the speed of the wave propagation.
    • Tint Ratio: Adds a chromatic aberration effect based on the distortion strength.
  • Auto Waves: Toggle automatic random wave generation to see the effect in action without interaction.

Platforms

This project targets the following platforms using Kotlin Multiplatform:

  • Android
  • iOS
  • Desktop (JVM)
  • Web (Wasm)

Getting Started

Prerequisites

  • JDK 17 or higher
  • Android Studio
  • Xcode (for iOS development, macOS only)

Build and Run

Android

./gradlew :composeApp:assembleDebug

Desktop

./gradlew :composeApp:run

Web (Wasm)

./gradlew :composeApp:wasmJsBrowserDevelopmentRun

iOS

or

  • Open iosApp/iosApp.xcodeproj in Xcode and run the application.

Technologies Used

Demo

Try it out yourself with Web Demo

https://github.com/user-attachments/assets/554db6e0-8599-47e4-8c5b-39d29f2824d6

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated2mo ago
Forks1

Languages

Kotlin

Security Score

70/100

Audited on Jan 7, 2026

No findings