sample script to draw in the 3d views