Frontend First cover image

Frontend First

Animating a Stable Diffusion side project

Jan 19, 2023
47:55

Ryan tells Sam about a side project of his that involves running the text-to-image deep learning model Stable Diffusion on his laptop in response to web requests. Ryan asks Sam questions about animating this UI, including how to animate indeterminate progress, how to avoid unintentional layout animation, and how to automatically repeat a set of items while scrolling rather than stopping at the end.

Topics include:

  • 0:00 - Intro
  • 0:24 – Overview of Ryan’s Stable Diffusion project -
  • 9:36 – Strategies for animating partially indeterminate progress -
  • 18:25 – Brainstorm of the API for the headless version of a partially indeterminate progress Hook -
  • 25:32 – Unintentional layout animation during window resize -
  • 28:29 – Infinite scrolling of a finite array of items -
  • 38:52 – Discussion of the need for more high-level Framer Motion examples -

Links:

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode