02 code patterns

Code patterns for rendering UI using XState and three.js.