3D teardrop gallery by Ana Tudor on CodePen
Open on CodePen ↗32 photos glide along a curved, teardrop-like path in 3D space and never stop moving. Ana Tudor plots the path with parametric equations instead of fixed keyframes.
CSS trig functions work out where each photo sits, a custom property registered with @property drives the motion, and 3D transforms place the photos in depth.
3Danimationtransform-stylesin()
The modern.css newsletter
New CSS each month, and new things in the Atlas. 806 subscribers. Past issues
by Chris Bolson
by Jhey Tompkins
by Kiarash Zarinmehr