I’ve been playing around with building a TouchBar API for Compose for Desktop. It’s only a very rough proof of concept, but it was fun to figure out. There’s demo videos and code snippets, as well as a link to the whole repo, in this twitter thread.
https://twitter.com/zachklipp/status/1426790034988945413?s=20
🆒 2
:kotlin-intensifies: 13
💯 4
c
Colton Idle
08/15/2021, 6:31 AM
Nice work! That twitter video compression is depressing.
t
theapache64
08/17/2021, 4:23 AM
@Colton Idle Yeah 😞 .. Usually, I convert the video to GIF before uploading to twitter with the below function.
function to-gif(){
ffmpeg -y -i "$1" -filter_complex "[0:v]fps=12,split[a][b];[a]palettegen[p];[b][p]paletteuse" "$1.gif"
}