code for modeling 3D+time geometric object