Update readme w/ Program 4

This commit is contained in:
John 2022-07-10 22:27:28 -05:00
parent a894c68466
commit 3386f7f249

View File

@ -50,4 +50,15 @@ The pendulum bob is free to rotate through 360 degrees about an anchor point at
Use global variables for the point size of the anchor, the radius of the bob, the length of the wire, and the angular velocity of rotation in degrees per second. Set the initial angular velocity to 45 (degrees per second) and allow an interactive user to increase or decrease the value in multiples of 10 degrees per second with button presses.
Submit your HTML and JS files on Canvas
Submit your HTML and JS files on Canvas
# Program 4
Orthographic rotating cube
### Problem Statement
Write a WebGL program that displays a cube with colored faces using an orthographic projection. Allow an interactive user to rotate the cube 15 degrees about the x and y axis.
The viewing volume defined by setOrtho should be chosen so that the cube occupies most of the volume but no clipping occurs.