3D magic pen