In this assessment task, the following answers have been answered by our experts. However, the remaining 4 answers are still unanswered. If you would like to get the answer to these 3 questions or the remaining questions, speak to our sales team immediately. The price for buying the original answer to these 3 questions is AUD 30 per answer.
Overview
The purpose of the assignment is to assess your ability to implement simple interactions, shapes, and objects using JavaScript and p5.js. Each Question should be submitted on L@G in a separate .js file (titled q1.js, q2.js, etc.), but you do not need to submit HTML and CSS files. Some of the questions will require you to investigate some concepts outside of the lecture notes. Please make sure that all code that you submit is your own and is not taken/copied from anywhere else.
Question 1 (4 marks) Write the code to reproduce this:
The exact color used is not important, but try and get close.
Use a total canvas width of 500px, and spread the squares out evenly.
- Hint: there is an alpha change.
- Question 2 (4 marks)
- Using the following data and p5js to draw a pie chart about favorite types of movies.
- Type
- Count
- Comedy 4
- Action 5
- Romance 6
- Drama 1
- SciFi 4
You should annotate each slice of the pie chart with its label and percentage.
1001ICT— Programming Assignment Help