Maths-powered CSS transforms for creating 3D shapes