2D and 3D graphical manipulation