Simulation of 3D clock