Skip to content

Instantly share code, notes, and snippets.

View oleksandrbalan's full-sized avatar

Oleksandr Balan oleksandrbalan

View GitHub Profile
@oleksandrbalan
oleksandrbalan / GooeyEffect.kt
Created February 8, 2023 16:42
Gooey effect
import androidx.compose.animation.core.InfiniteRepeatableSpec
import androidx.compose.animation.core.RepeatMode
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.rememberInfiniteTransition
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.ui.Modifier