COMP-4471 Project 2, Winter 2021 Expand project 1 using WebGL and JavaScript (but not three.js), and the mathematics package (with the textbook), into a three-dimensional interactive game where; 1. The playing field starts as surface of a sphere centered at the origin. 2. The player views the sphere from a mobile vantage point outside the sphere (under interactive control). 3. Bacteria grow on the surface of the sphere starting at an arbitrary spot on the surface and growing out uniformly in all directions from that spot at a speed determined by the game. 4. When two bacteria cultures collide, the first one to appear on the circumference dominates and consumes the later generated bacteria. 5. Lighting is used. Use GUI control to enable or disable lighting. 6. The game can randomly generate up to a fixed number (say 5 or 10) different bacteria. 7. The bacteria appear as a colored circular patch on the surface of the sphere. Electronic submission of source code and documentation will be through myCourseLink: 1. Submit ONE compressed file (.zip only). 2. This .zip file should contain all your source files plus the files specified in 3 below and the files should be correctly placed so that the program runs from a browser. 3. Include in your submission two .doc (or .docx or .pdf) files: one for a user guide and one for a gallery of screen captures (with at most a 3-line explanation of each image). The screen captures should be complete and illustrate all aspects of the project requirements sufficient for marking needs.
欢迎咨询51作业君