updated graphics code with circle path demo