Just look, and enjoy the function. Which one do you want to draw? Cubic, parabolic or linear? Enter "c" for cubic, "p" for parabolic and "l" for linear. To the linear function, it will be better if you make the smooth variable to 5
Credits to this channel It has a very smart idea to draw a graph. https://www.youtube.com/watch?v=ALBMdDBrnZE&t=13s I am learning math not copying for fun. If you are asking why didn't I make it draw the graph faster by run without screen refresh, the reason is it reduced lag and it looks beautiful!