The Windows API what making graphs.
You can use any XtoY function, color, speed and window update method.
I'm defined 4 functions:
- XtoY : Basic function. Draw in squere which point 45*.
- Ping Pong : Function that make line up and down, up and down...
- SinusWave : The function calculate the sinus from current X and max height.
- SParable : Finally! The last func issss... yep is from Stanley Parable, but this calculate the parabole (y = x^2).