I am creating a new storyboard for my presentation...
# storyboard
r
I am creating a new storyboard for my presentation at droidcon London. If you have tips on how to create a good template and get started - please let me know. Importantly, what are the things you wish you knew getting started ?
c
Probably does not answer your question - but I found myself getting carried away doing too much Compose since Storyboard feels so familiar. I had to remind myself that I’m creating a presentation, not an app UI.
Also, I used Compose for some simple diagrams (Boxes and borders) instead of embedding an image.
I wish I had the courage to embed and run Kotlin code from within the storyboard (I switched to the IDE for this). Sinasamaki’s animations presentations are done this way (and he uses Compose Desktop - not even Storyboard).
Re: template: I found myself creating a handful of “layouts” and reusing them across the presentation. I did not start with a template though. It evolved while I was creating my presentation. Like - slide 5 was very similar to slide 4 so I just used the IDE extract method refactoring (making Compose-specific adjustments) and that’s how a slide layout was born.
r
Thanks.. I think I am in a similar boat - I am getting a bit carried away as well. I should start with some layouts that I need. I had a really good workflow with my fork of
bento
for ADS - and I want to build a similar workflow with
storyboard
b
A couple things have helped me speed up my process: 1. I always scaffold my slides with something. Really helps adjust common patterns quickly. Basically a title+body "template" from traditional slides. 2. I've started creating extensions to the standard
scene
DSL functions. Helps adjust default transition animations between scenes. 3. Try to drive your scenes with state classes as soon as possible. Local classes help with this pattern a lot. I made a little DSL to use the data class copy function for deltas between frames. 4.
createChildTransition
everywhere. Anything based on the scene frame should be wrapped with a
Transition
. Syncs up animations and makes them skippable as well. 5.
AnnotatedString
for all text variables. You'll eventually want to style it in some non-default way. Just make that function parameter an
AnnotatedString
from the beginning. 6. Dealing with code samples is still tough. I've got a DSL-like thing which helps me use a base code sample and manipulate it into various states. It's helpful, but I still don't really like it all that much. Find/build something that works for you and improve it over time. 7. Always colocate your code samples somehow. I've found it's easier to review them for errors or make changes to them when they are at least all in the same directory.
[.,.] found myself getting carried away doing too much Compose [...]
Yep, this, big time. Basically the story of how storyboard was created. 😆 But each time I create a new presentation I care a little bit less each time how good the Compose code is and focus more on the presentation itself. So while the onboarding is brutal, it does get easier as you build out your personal library of templates and widgets. As for general template tips, I often try and match the theming of the conference somehow. For DroidCon NYC, it was the orange and blue panes, and I had a ton of fun doing half-screen carousel-like transitions. And one final tip: always do something you could only do with Compose. It's tons of fun and reinvigorates me when I can work on a small bit of polish to the presentation that reminds me why I like doing it with Compose. For KotlinConf 2026, it was the subtle gradient to a couple elements that automatically transitioned to match the background gradient based on their position. I really doubt anyone noticed, but it was super rewarding to me when I got that working. And good luck doing that with Keynote!
👍🏽 1
👍 1