matia 🇭🇷

@joyofcode.xyz

https://joyofcode.xyz/

Added rendering options to Animotion with defaults for YouTube and other formats for socials 😎 You can render the entire sequence or individual scenes as images or video using the CLI 🎞️

I'm excited for the new Animotion API for making visual explainers with support for layout and code animations, rendering to video, and plugins 🔥

I want the next version of Animotion to be more opinionated so you can render the presentation frame by frame as a video I'm trying a new approach using generators to describe steps instead like Motion Canvas

Modern CSS is pretty neat I'm doing Animotion from scratch in Svelte without libraries so I have control over everything I'm taking advantage of container queries and their length units to size text based on the container size defined by the aspect ratio

I fixed a bug in Animotion where the default layout wasn't working properly when animating code blocks Now it's enabled by default to enforce a fixed aspect ratio and scale slides uniformly to fit any screen size

Trying Coolify on Hetzner and loving it — learned a lot about securing a VPS and self-hosting Nixpacks sucks though and fails on SvelteKit so I used a Dockerfile and I might offload builds to GitHub to prevent CPU spikes Excited about v5 since it's using Svelte for the frontend

Bild

I poked around SvelteKit to learn how live queries work and found it uses a raw stream that sends NDJSON using devalue for serialization — I used a server endpoint and fetch on the client to demonstrate how it works 😄

Another experiment in making videos with code stealing the Motion Canvas API with Svelte templating and reactivity 😄 I prefer this over the Remotion approach I tried where you have to define the frames 🤔

Vercel randomly broke my SvelteKit deployment that worked fine before and wasted hours of my time 😤 If you encounter random problems with your deployment update the build command

Bild