Lorenz Attractor with CSS

Silly experiment using CSS shadows to render a Lorenz attractor. There’s no JavaScript involved, everything is done with CSS (generated by Sass).


Check out the code:

You really don’t want to see the resulting CSS. It’s a huge text-shadow property with the coordinates for each of the 5000 iterations of the equations that Sass ran.

Posted on by Daniel Perez Alvarez. Got any comments or suggestions? Send me a tweet or an email.