Details

The purpose of this project was to programmatically create a snake that incorporates the use of textures and bump mapping.

Luckily, I was able to succeed in this purpose. Above, you will see a video of the final product, along with a variety of the features provided with the shipped code.

These features include: growing and shrinking the snake, expanding and contracting the radii of each segment, adjusting the color of the segments, or enabling the color pattern mode, and finally, the adjustment of the snake's deviation (essentially, the distance it travels along the z-axis).

The above simulation was compiled and run on a Macbook Pro running Snow Leopard 10.6.8.

Camera Controls

Snake Controls

References