I trained a diffusion model and put it in a stylesheet.No JavaScript. Press the button and CSS turns a random seed into noise, then denoises it into a 16×16 sprite in 12 steps. 202,863 weights, each one a number inside a calc().It's unrolled (CSS has no loops), it learned ten sprites in any color, and it matches a Python reference pixel for pixel.https://metrix187.github.io/diffusion.css/Code: https://github.com/Metrix187/diffusion.css#CSS #MachineLearning #PixelArt #CSSCrimes
I trained a diffusion model and put it in a stylesheet.No JavaScript. Press the button and CSS turns a random seed into ...