Skip to content

Instantly share code, notes, and snippets.

View bitspittle's full-sized avatar

David Herman bitspittle

View GitHub Profile
@bitspittle
bitspittle / gist:7e506898549cef62e8c9eb5878a4f218
Last active June 26, 2025 16:50
Animating in a 4x4 grid of squares in Kobweb (in BFS order)
// Drafted as part of a conversation in https://www.linkedin.com/posts/shubhamsinghshubham777_kotlin-compose-jetpackcompose-activity-7343659024954925059-QS39
// To repro yourself, you can run `kobweb create app/empty` and overwrite `pages/Index.kt` with this code:
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import com.varabyte.kobweb.compose.css.CSSTimeNumericValue
import com.varabyte.kobweb.compose.css.StyleVariable
import com.varabyte.kobweb.compose.foundation.layout.Box
import com.varabyte.kobweb.compose.foundation.layout.Column
import com.varabyte.kobweb.compose.foundation.layout.Row
{"label":"coverage","message":"91.4%","schemaVersion":1,"color":"hsl(109, 100%, 40%)"}