Update readme w/ Program 4
This commit is contained in:
parent
a894c68466
commit
3386f7f249
13
README.md
13
README.md
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user