An interactive graphics system for teaching geometry and computer graphics