Post

Hey Elixir friends! :) Have you seen physics animations written in pure Elixir running in the browser? Hologram v0.6.0 (full-stack Elixir framework) is here! ✨ #Hologram #Elixir #ElixirLang #BEAM #WebDev

So... the bouncing ball is a really famous/common animation exercise. I wonder how your demo would look/handle doing some squash/stretch on the ball? I've never thought about how someone would actually program the animation, only made them by hand.

Great idea! Squash and stretch would make it way more dynamic. The beauty of Hologram is you can handle all that animation logic right in Elixir - scaling the ball based on velocity, adjusting the shape on collision, etc. You should totally give it a try and see what you can create!

0 reposts1 like

No replies yet.