Skip to content

Instantly share code, notes, and snippets.

@ExperimentalAnimationApi
@Composable
fun DrawingTools(
drawColor: MutableState<Color>,
drawBrush: MutableState<Float>,
usedColors: MutableSet<Color>
) {
var showBrushes by remember { mutableStateOf(false) }
val strokes = remember { (1..50 step 5).toList() }