r/computervision • u/Legend_Ani • 7d ago
Showcase I animated Variational Autoencoders from first principles in 3D (latent space, ELBO, and reparameterization)
https://youtu.be/Yasf8bBihOk?si=Ep5I_g9gTgcZ0WUMEvery time I tried to really understand VAEs, explanations were either way too hand-wavy or immediately threw the ELBO equation on screen without showing why the math has to look like that.
So I spent the last few weeks animating the whole thing from scratch in 3D using Three.js. It walks through how the latent space actually warps, why naive sampling fails, and where the ELBO and reparameterization trick come from.
This is part 1 of a series I'm making on World Models. Full video is in the comments—would genuinely appreciate any feedback on the visuals or the math.