C Programming Portfolio

A short portfolio of projects done on C

A short portfolio of projects done on C

Understanding the Graphics Projects

These projects separate geometry, animation state and drawing. A sine wave turns a mathematical function into sampled points; a moving arm composes transformations; lighting changes appearance without changing geometry. The screenshots document class demonstrations, not performance or rendering-quality benchmarks.

Testing and Real-World Use

This could be tested by checking sampled curves, transformation order and repeated random estimates against known mathematical results. The portfolio’s graphics techniques are useful for visualising geometry and algorithms, although reproducing the historical images requires the original source and scene settings.

Drawing normal Figures

Code on C and OpenGL to create figures and drawings

Sine Wave

Code on C and OpenGL to create a Sine Wave

Wire Frame and Solid letter

Code on C and OpenGL to create a letter in wireframe and solid format

Ascii Art

Code on C and OpenGL to read a document and assign a random color to each character of the text

Sierpinski Triangle

Code in C and OpenGL to draw a finite approximation of a recursive triangle, with mouse and keyboard interaction.

Gingerbread Man

Code on C and OpenGL to draw a Gingerbread man with random color and points given a function.

Montecarlo Method to calculate Pi

Code on C and OpenGL to draw a Circle and determine the value of Pi.

Animated Cube

Code on C and OpenGL to draw a cube animation that opens and closes.

Animated Arm

Code on C and OpenGL to draw an arm that takes a cube and moves it.

Viewports

Code on C and OpenGL to manage viewports

Material Illumination

Code on C and OpenGL to illuminate materials

3D Illuminated Scene

Code on C and OpenGL to illuminate materials