====================================================================== ===== COMP2720 ===== Semester 2, 2006 ===== Lab sheet ===== ====================================================================== Student name: Dean Dal Broi Student Uni ID: u4222206 Lab goup: Wed 10-12 Tutor: Peter Christen ---------------------------------------------------------------------- Lab number: 6 Date: 3/10/06 ====================================================================== Part 1. Q1. Have opened the program bounce2.py and have ran it and seen its pretty bouncing ball. Have also read through the code. Q2. Have added the yellow box and have made it bounce off all walls similar to the ball. Used code very similar to the ball and have included it into the balls loop. Q3. Have run the program to find that i now have a yellow boxy bouncing around. Q4. have added rotate to the box using the following line of code in the infinite loop: box.rotate(angle=0.0628, axis=( -0.16, -0.21, +0.25)) Q5. Have added an ellipsoid that bounces around and rotates. Used similar methods to the box, the only difference is that the rotate angle per cycle is half of that than of the box. ======================================================================