3D pattern across a curved surface