Complete solutions to COS3712 Assignment 1 2023. Use as a guide for your own work, DO NOT submit code as is. Feel free to contact us should you have any queries and remember to leave a review :) We really appreciate it!
,On the last page of this document you will find a Google drive link with the following :
1. Solutions to COS3712 Assignment 1 - A zip folder with all the project files. You simply copy,
paste and run in your browser
.json →
2. As a bonus you will also have access to the prescribed textbook for this module:
Edward Angel, Dave Shreiner - Interactive Computer Graphics. A Top-Down Approach with
WebGL-Pearson (2014)
Please note: This document should only be used as a guide for your own assignment. We do
not condone plagiarism.
www.tutorialspoint.com
,Assessment 1 requirements
807224
In this project you have to design and construct a simple village.
The village should contain the following the following:
• A water tank - Use a cylinder.
• A barn - A rectangular structure with prism roof
• Trees — Use cylinders for the trunk and multiple cones to depict the top
half of the tree.
For the barn, the roof and supporting structure (walls) should be of different
colours. You also need to define the ground on which the buildings are
situated. On the ground you need to draw a water pond.
Add buttons to your project to do the following:
• Toggle rotation. Start and stop (toggle) rotation of shape.
• Toggle(change) direction of rotation.
Add sliders to your project to do the following:
• Increase and decrease the speed of rotation of shape.
• Zoom in/out to the centre of your village.
You are allowed to use a graphics library like three.js for this project. Once
you are done take screen shots of your running program and add these
together with your .js and other files into a zip folder and submit the zip
folder.
Chapters 1-5 for this assessment:
www.tutorialspoint.com
, Preview output…
www.tutorialspoint.com
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller UnisaGuides. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $5.63. You're not tied to anything after your purchase.