
The next assignment was to alter or make some of code of my own that generates something that is rotated when the arrow keys of a keyboard are pressed. What I did, basically, was take some code from an example that drew a quarter of a wireframe globe and changed it so that it would instead draw the entire globe. I then added the functionality of it rotating on keypresses by referencing a previous example that demonstrated such functionality. After satisfying all my instructor's pre-requisits, I decided to go ahead and make it feel more my own, so I changed the color of the globe from white to red with a simple alteration of the code.
Click this link to run an executable file of what I made to see the effects yourself.
No comments:
Post a Comment