Subscribe for email updates

Get all updates to your inbox to stay tune.

Curve tracing programs - Draw sin(x) curve using Graphics programming in C

Learn how to draw curve tracing graphics programs in c language

Graphics programming in C

Learn how to write basic and advanced graphics programming in c language

Curve tracing programs - Draw Cos(x) curve using Graphics programming in C

Learn how to draw curve tracing graphics programs in c language

Make file tutorial

A step by step guide to learn how to write make file in Linux with examples

Sunday, March 31, 2013

Curve Tracing - Drawing Sin(x) graph

Using Mathematics, draw pixel at x,y by calculating y for corresponding x. Any equation can be shown as a graph using c graphics. The current program shows how to draw sin(x) curve using c graphics program on dosbox ( A dos emulator). For cos(x) read "draw cos(x) graph" article. By introducing some delay between drawing pixel, pixel moving animation can be shown. I will be posting more such graphics programs, keep visiting this site and encourage us by liking our page at facebook.