interactive curve function viewer