State Machines, CSS and Animations with David K Piano


In this episode of Syntax, Scott and Wes talk with David K Piano about state machines, CSS, animations and more!

Sanity - Sponsor is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at Get an awesome supercharged free developer plan on

Sentry - Sponsor

If you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting and using the coupon code “tastytreat”.

Show Notes

2:30 - Who is David K Piano?

4:00 - Did you have a background in animation prior to web development?

5:45 - How did you build the CSS Responsive House on Codepen?

8:36 - What are state machines?

14:47 - How does it relate to programming?

17:20 - How do you go about changing states?

20:20 - Is this similar to how RxJS works?

21:40 - How would state machine work in CSS?

29:07 - Perspective in CSS

34:47 - How do you like Twitch vs YouTube?

35:48 - How do you add XState to a current project?

41:42 - Visualizing sate machines

46:15 - Do you have a day job as well?

Links ××× SIIIIICK ××× PIIIICKS ××× Shameless Plugs Tweet us your tasty treats!

Audio Player