Kirill Grouchnikov
03/28/2022, 10:38 AMremember { mutableStateOf }
together with the newly added binding to the underlying SkRuntimeShaderBuilder::uniform
. When the mouse is moved over the button, the amount of blur and red tinting goes down, showing how to combine derivedStateOf
with the same SkRuntimeShaderBuilder::uniform
.
Apart from the more demo-ey nature of this video, this should enable not only the things done in Android (stretch overscroll, content blur, fancy ripples), but also things like image editing with quick live previews of effects, introduction tutorials that blur / highlight relevant parts of the UI, and many more.mikehearn
03/28/2022, 12:38 PMKirill Grouchnikov
03/28/2022, 12:46 PMmikehearn
03/28/2022, 12:47 PMmikehearn
03/28/2022, 12:51 PMmikehearn
03/28/2022, 12:54 PMKirill Grouchnikov
03/28/2022, 1:02 PMmikehearn
03/28/2022, 1:03 PMKirill Grouchnikov
03/28/2022, 1:11 PMKirill Grouchnikov
03/28/2022, 1:12 PMmikehearn
03/28/2022, 1:21 PMKirill Grouchnikov
03/28/2022, 2:17 PMmikehearn
03/30/2022, 11:09 AMKirill Grouchnikov
03/30/2022, 1:36 PM