
Highly optimized, realistic digital glitch effect for text rendering with GPU shaders, customizable distortion, color-channel shifts, procedural noise, temporal animation, and minimal performance overhead.
A pure Compose Multiplatform library for text rendering with a digital glitch effect and chromatic aberration.
clipRect, translate, and graphicsLayer).Add the dependency to your build.gradle.kts:
commonMain.dependencies {
implementation("io.github.eduardomcb:glitchtext:1.0.0")
}import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.dp
import androidx.compose.ui.graphics.Color
import io.github.eduardomcb.glitchtext.GlitchText
@Composable
fun DemoGlitch() {
GlitchText(
text = "GLITCH EFFECT",
isGlitching = true,
glitchAmplitude = 6.dp,
color1 = Color(0xFF00FFFF), // Cyan
color2 = Color(0xFFFF00FF) // Magenta
)
}This project is licensed under the MIT License - see the LICENSE file for details.
A pure Compose Multiplatform library for text rendering with a digital glitch effect and chromatic aberration.
clipRect, translate, and graphicsLayer).Add the dependency to your build.gradle.kts:
commonMain.dependencies {
implementation("io.github.eduardomcb:glitchtext:1.0.0")
}import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.dp
import androidx.compose.ui.graphics.Color
import io.github.eduardomcb.glitchtext.GlitchText
@Composable
fun DemoGlitch() {
GlitchText(
text = "GLITCH EFFECT",
isGlitching = true,
glitchAmplitude = 6.dp,
color1 = Color(0xFF00FFFF), // Cyan
color2 = Color(0xFFFF00FF) // Magenta
)
}This project is licensed under the MIT License - see the LICENSE file for details.