Projects

2D Sierpinski Triangle

This is a simple program that lets you change the amount of subdivision in a 2D Sierpinski Triangle.

3D Sierpinski Triangle Spin

This is a 3D rendering of the sierpinski triangle that is rotating using a changing theta value.

Change 3D Shape

This is a simple program that displays a rotating cube. However the cube can be changed and the rotation axis can be changed.

Cube Shade

This program is similar to the last but it adds shadows using additional rendering and perspective.

Cube Tetra Octa Shape

This is a program that shows the rotation of three different shapes. Changing the rotation axis will do so for each shape however each shape can be indiviually stopped and expanded and shrank.

Hat Rotate

This is a program that shows a sombrero with mesh. Instead of automatically rotating the the hat needs to be roated through user input.

Inner Square

This is a very simple program that shows a square inside another square(the canvas). The user can change the length and height of the square using sliders.

Look at Cube

This is program allows users to look at a cube using perpesctive and orthographic views. Users can change the fovy(field of view in the Y deimension) as well as rotate the cube on the x axis and on the y axis with limitations.

Look at Cube Perspective

Similar to the last program, I created this program to use sliders for the users to be able to change aspects such as camera position, fovy, moving how close the closest and furthest side of the cube are, how wide and short the left and rights values of the cube are as well as ratio. Finally the values of the sliders are displayed to the side.

Making Mesh

This program is a blank canvas that creates a line from where the users clicks and from where they last clicked. There is also a drop box for users to change the color and restart the mesh.

Making Poly

Similar to the last this program starts as a blank canvas. But once the users clicks the program stores where they click and once they click end polygon the program uses the stored points and creates a shape from the points. There is also a color select but it must be chosen before the creation of the polygon.

Moon Orbit

This program is a very simple that shows the use oftextures. The earth is rotating around the moon in this scenario.

Object Manager

This project allows the user to go on to select an image file for the code to use. If non is selected there are some base objects added in already. Users can change the color of the object, center it and rotate the lights as well as the object on each axis.

Object manager 2

This program is the same as the last but some preselected objects have textures.

Robot Arm

This program is a virtual simple robot arm. The left and right arrow keys turn the arm. The Up can down arrow keys move the arm closer and further. The Keys Q and W swing the arm without bending any parts of it. The keys E and D move the arm up and down. The keys R and T move the arm left and right. The keys A and S swing the blue part of the arm. Finally Z and X swing the green part of the arm.

Rotating Square

This simple program displays a rotating square. Users are able to change the speed of the roation and the rotation direction.

Running Robot

This is most advanced of the prjects. This displays a character in a sky box with nine pillars with a ball on top of all of them. The balls are rotating and each ball and pillar has a texture on it. The camera can be adjusted via clicking and dragging. The character can be controlled AWSD and the arrow keys. For turning the character use A, D or the left and right arrow keys. The down arrow key and the S key makes the character sprint in the direction it is facing and the W and up arrow key make the character walk towards the direction its facing.

Shadow Map

This prgram shows a roating shape that the user can change. What's special about this project is that it shows the shadow of the the object. The rotation of the object can be halted and manual rotation on any axis is an option. As well as how high or low the object is.

Shadow Map 2

This program is an extension of the other project that adds two more shapes.

Shadow Shear

This project displays three rotating shapes all with shadows. The axis of the rotation can be changed to X, Y, and Z.

Sky Box Demo

This program shows a reflective ball on the inside of a skybox. The users can look around by clicking and dragging.

Spinning 6 color Cube

Very Basic program that shows a cube spinning. The user can change the axis of rotation.

Spinning 6 Color Cube Quad

Very similar to the last program except the user can change the colors.

Spinning Cube

Also similar to the last two but instead of static colors the colors are gradient.

Static Cube

This is the color gradient cube however just static.

Teapot

This program displays a teapot. The user is allowed to control the number of subdivisions that make up the teapot and the color of the teapot.

Tetra to Sphere

This program displays a pyramid that can manually be rotated by the user and turned into a sphere by subdivisions also controlled by the user.

Tetra to Sphere with Light

This program uses the same concept from the last of turning the pyramidinto a sphere using subdivisons but it adds a light aspect and users can change the color.