This example shows a simple way to draw a sin wave using modern OpenGL and C#
GitHub: https://github.com/8Observer8/Sin_ConsoleAppOpenTkOpenGL30CSharp
Source Code in Archive: Sin_ConsoleAppOpenTkOpenGL30CSharp.zip
These are screenshots for different steps: Pi / 2, Pi / 4, Pi / 8, Pi / 16
Pi / 2:
Pi / 4:
Pi / 8:
Pi / 16:
It is a mistake. It must be 10 cents. I fixed it. Because I have 1000 downloads for 20 days of this example on another (Russian) forum. If 1000 persons buy it for 10 cents I will get $100. I will try. Maybe it will work.
I will add a text on this graph (pi/2, y = sin(x) and so on)