SlideShare a Scribd company logo
assignment is to create a 2D graphics scene using the HTML canvas element. The idea and
details of this scene are left up to you but must consist of different colors and2D shapes. You
must make sure you to meet the following requirement: - Define JavaScript variables and
constants (using let and const) - Use more than one conditional structure (if/else;...) - Use more
than one loop (for, while, do/while) - Define and call functions - Make your scene interactive by
having at least two components controlled using a form

More Related Content

More from amarhandi

answering questions. 1. Show graphically an argument why a larg.pdf
 answering questions. 1. Show graphically an argument why a larg.pdf answering questions. 1. Show graphically an argument why a larg.pdf
answering questions. 1. Show graphically an argument why a larg.pdf
amarhandi
 
Answer the following questions on Wendys case on a separate word doc.pdf
 Answer the following questions on Wendys case on a separate word doc.pdf Answer the following questions on Wendys case on a separate word doc.pdf
Answer the following questions on Wendys case on a separate word doc.pdf
amarhandi
 
Answer the following questions 1.1 Identify and briefly discuss the.pdf
 Answer the following questions 1.1 Identify and briefly discuss the.pdf Answer the following questions 1.1 Identify and briefly discuss the.pdf
Answer the following questions 1.1 Identify and briefly discuss the.pdf
amarhandi
 
Anne Thom is 25 years old and wants to retire at the age of 50 . In o.pdf
 Anne Thom is 25 years old and wants to retire at the age of 50 . In o.pdf Anne Thom is 25 years old and wants to retire at the age of 50 . In o.pdf
Anne Thom is 25 years old and wants to retire at the age of 50 . In o.pdf
amarhandi
 
Assume Coleco pays an annual dividend of $1.49 and has a share price .pdf
 Assume Coleco pays an annual dividend of $1.49 and has a share price .pdf Assume Coleco pays an annual dividend of $1.49 and has a share price .pdf
Assume Coleco pays an annual dividend of $1.49 and has a share price .pdf
amarhandi
 
Assume January 11 Sale on account for $1,000 of merchandise; terms .pdf
 Assume January 11 Sale on account for $1,000 of merchandise; terms .pdf Assume January 11 Sale on account for $1,000 of merchandise; terms .pdf
Assume January 11 Sale on account for $1,000 of merchandise; terms .pdf
amarhandi
 
Assume H1 and H2 are connected to the same access point AP1. H1 want .pdf
 Assume H1 and H2 are connected to the same access point AP1. H1 want .pdf Assume H1 and H2 are connected to the same access point AP1. H1 want .pdf
Assume H1 and H2 are connected to the same access point AP1. H1 want .pdf
amarhandi
 
Assume NODE p points to a node with int data and NODE next. Write t.pdf
 Assume NODE p points to a node with int data and NODE next. Write t.pdf Assume NODE p points to a node with int data and NODE next. Write t.pdf
Assume NODE p points to a node with int data and NODE next. Write t.pdf
amarhandi
 
Assume Coleco pays an annual dividend of $1.51 and has a share price .pdf
 Assume Coleco pays an annual dividend of $1.51 and has a share price .pdf Assume Coleco pays an annual dividend of $1.51 and has a share price .pdf
Assume Coleco pays an annual dividend of $1.51 and has a share price .pdf
amarhandi
 
Anita Clarke is chief information officer at Foundation Phamaceutical.pdf
 Anita Clarke is chief information officer at Foundation Phamaceutical.pdf Anita Clarke is chief information officer at Foundation Phamaceutical.pdf
Anita Clarke is chief information officer at Foundation Phamaceutical.pdf
amarhandi
 
Animal Concept Mapping Using the following terms to create a concept .pdf
 Animal Concept Mapping Using the following terms to create a concept .pdf Animal Concept Mapping Using the following terms to create a concept .pdf
Animal Concept Mapping Using the following terms to create a concept .pdf
amarhandi
 
Assume a company reported the following information Muitiple Cholce .pdf
 Assume a company reported the following information Muitiple Cholce .pdf Assume a company reported the following information Muitiple Cholce .pdf
Assume a company reported the following information Muitiple Cholce .pdf
amarhandi
 
Assume Evoo, Inc, has a curtent stock price of $51.85 and will pay a .pdf
 Assume Evoo, Inc, has a curtent stock price of $51.85 and will pay a .pdf Assume Evoo, Inc, has a curtent stock price of $51.85 and will pay a .pdf
Assume Evoo, Inc, has a curtent stock price of $51.85 and will pay a .pdf
amarhandi
 
Assume a portfolio of two assets, asset 1 and asset 2 (i) What propo.pdf
 Assume a portfolio of two assets, asset 1 and asset 2 (i) What propo.pdf Assume a portfolio of two assets, asset 1 and asset 2 (i) What propo.pdf
Assume a portfolio of two assets, asset 1 and asset 2 (i) What propo.pdf
amarhandi
 
Animal behaviour in the 19th and 20th centuries (Lectures 0207 ) - Cl.pdf
 Animal behaviour in the 19th and 20th centuries (Lectures 0207 ) - Cl.pdf Animal behaviour in the 19th and 20th centuries (Lectures 0207 ) - Cl.pdf
Animal behaviour in the 19th and 20th centuries (Lectures 0207 ) - Cl.pdf
amarhandi
 
Assume a member is selecled at fandom from the population represented.pdf
 Assume a member is selecled at fandom from the population represented.pdf Assume a member is selecled at fandom from the population represented.pdf
Assume a member is selecled at fandom from the population represented.pdf
amarhandi
 
Assume a compeny with two divisions (A and B) prepared the following .pdf
 Assume a compeny with two divisions (A and B) prepared the following .pdf Assume a compeny with two divisions (A and B) prepared the following .pdf
Assume a compeny with two divisions (A and B) prepared the following .pdf
amarhandi
 
assisgment for Infection Prevention and ControlSituation M.pdf
 assisgment for Infection Prevention and ControlSituation M.pdf assisgment for Infection Prevention and ControlSituation M.pdf
assisgment for Infection Prevention and ControlSituation M.pdf
amarhandi
 
Assignment Questions 1. Is the client socket using TCP or UDP How do.pdf
 Assignment Questions 1. Is the client socket using TCP or UDP How do.pdf Assignment Questions 1. Is the client socket using TCP or UDP How do.pdf
Assignment Questions 1. Is the client socket using TCP or UDP How do.pdf
amarhandi
 
Assignment Project 1 20 1. Briefly write a short note on the differ.pdf
 Assignment Project 1 20 1. Briefly write a short note on the differ.pdf Assignment Project 1 20 1. Briefly write a short note on the differ.pdf
Assignment Project 1 20 1. Briefly write a short note on the differ.pdf
amarhandi
 

More from amarhandi (20)

answering questions. 1. Show graphically an argument why a larg.pdf
 answering questions. 1. Show graphically an argument why a larg.pdf answering questions. 1. Show graphically an argument why a larg.pdf
answering questions. 1. Show graphically an argument why a larg.pdf
 
Answer the following questions on Wendys case on a separate word doc.pdf
 Answer the following questions on Wendys case on a separate word doc.pdf Answer the following questions on Wendys case on a separate word doc.pdf
Answer the following questions on Wendys case on a separate word doc.pdf
 
Answer the following questions 1.1 Identify and briefly discuss the.pdf
 Answer the following questions 1.1 Identify and briefly discuss the.pdf Answer the following questions 1.1 Identify and briefly discuss the.pdf
Answer the following questions 1.1 Identify and briefly discuss the.pdf
 
Anne Thom is 25 years old and wants to retire at the age of 50 . In o.pdf
 Anne Thom is 25 years old and wants to retire at the age of 50 . In o.pdf Anne Thom is 25 years old and wants to retire at the age of 50 . In o.pdf
Anne Thom is 25 years old and wants to retire at the age of 50 . In o.pdf
 
Assume Coleco pays an annual dividend of $1.49 and has a share price .pdf
 Assume Coleco pays an annual dividend of $1.49 and has a share price .pdf Assume Coleco pays an annual dividend of $1.49 and has a share price .pdf
Assume Coleco pays an annual dividend of $1.49 and has a share price .pdf
 
Assume January 11 Sale on account for $1,000 of merchandise; terms .pdf
 Assume January 11 Sale on account for $1,000 of merchandise; terms .pdf Assume January 11 Sale on account for $1,000 of merchandise; terms .pdf
Assume January 11 Sale on account for $1,000 of merchandise; terms .pdf
 
Assume H1 and H2 are connected to the same access point AP1. H1 want .pdf
 Assume H1 and H2 are connected to the same access point AP1. H1 want .pdf Assume H1 and H2 are connected to the same access point AP1. H1 want .pdf
Assume H1 and H2 are connected to the same access point AP1. H1 want .pdf
 
Assume NODE p points to a node with int data and NODE next. Write t.pdf
 Assume NODE p points to a node with int data and NODE next. Write t.pdf Assume NODE p points to a node with int data and NODE next. Write t.pdf
Assume NODE p points to a node with int data and NODE next. Write t.pdf
 
Assume Coleco pays an annual dividend of $1.51 and has a share price .pdf
 Assume Coleco pays an annual dividend of $1.51 and has a share price .pdf Assume Coleco pays an annual dividend of $1.51 and has a share price .pdf
Assume Coleco pays an annual dividend of $1.51 and has a share price .pdf
 
Anita Clarke is chief information officer at Foundation Phamaceutical.pdf
 Anita Clarke is chief information officer at Foundation Phamaceutical.pdf Anita Clarke is chief information officer at Foundation Phamaceutical.pdf
Anita Clarke is chief information officer at Foundation Phamaceutical.pdf
 
Animal Concept Mapping Using the following terms to create a concept .pdf
 Animal Concept Mapping Using the following terms to create a concept .pdf Animal Concept Mapping Using the following terms to create a concept .pdf
Animal Concept Mapping Using the following terms to create a concept .pdf
 
Assume a company reported the following information Muitiple Cholce .pdf
 Assume a company reported the following information Muitiple Cholce .pdf Assume a company reported the following information Muitiple Cholce .pdf
Assume a company reported the following information Muitiple Cholce .pdf
 
Assume Evoo, Inc, has a curtent stock price of $51.85 and will pay a .pdf
 Assume Evoo, Inc, has a curtent stock price of $51.85 and will pay a .pdf Assume Evoo, Inc, has a curtent stock price of $51.85 and will pay a .pdf
Assume Evoo, Inc, has a curtent stock price of $51.85 and will pay a .pdf
 
Assume a portfolio of two assets, asset 1 and asset 2 (i) What propo.pdf
 Assume a portfolio of two assets, asset 1 and asset 2 (i) What propo.pdf Assume a portfolio of two assets, asset 1 and asset 2 (i) What propo.pdf
Assume a portfolio of two assets, asset 1 and asset 2 (i) What propo.pdf
 
Animal behaviour in the 19th and 20th centuries (Lectures 0207 ) - Cl.pdf
 Animal behaviour in the 19th and 20th centuries (Lectures 0207 ) - Cl.pdf Animal behaviour in the 19th and 20th centuries (Lectures 0207 ) - Cl.pdf
Animal behaviour in the 19th and 20th centuries (Lectures 0207 ) - Cl.pdf
 
Assume a member is selecled at fandom from the population represented.pdf
 Assume a member is selecled at fandom from the population represented.pdf Assume a member is selecled at fandom from the population represented.pdf
Assume a member is selecled at fandom from the population represented.pdf
 
Assume a compeny with two divisions (A and B) prepared the following .pdf
 Assume a compeny with two divisions (A and B) prepared the following .pdf Assume a compeny with two divisions (A and B) prepared the following .pdf
Assume a compeny with two divisions (A and B) prepared the following .pdf
 
assisgment for Infection Prevention and ControlSituation M.pdf
 assisgment for Infection Prevention and ControlSituation M.pdf assisgment for Infection Prevention and ControlSituation M.pdf
assisgment for Infection Prevention and ControlSituation M.pdf
 
Assignment Questions 1. Is the client socket using TCP or UDP How do.pdf
 Assignment Questions 1. Is the client socket using TCP or UDP How do.pdf Assignment Questions 1. Is the client socket using TCP or UDP How do.pdf
Assignment Questions 1. Is the client socket using TCP or UDP How do.pdf
 
Assignment Project 1 20 1. Briefly write a short note on the differ.pdf
 Assignment Project 1 20 1. Briefly write a short note on the differ.pdf Assignment Project 1 20 1. Briefly write a short note on the differ.pdf
Assignment Project 1 20 1. Briefly write a short note on the differ.pdf
 

Recently uploaded

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 

assignment is to create a 2D graphics scene using the HTML canvas ele.pdf

  • 1. assignment is to create a 2D graphics scene using the HTML canvas element. The idea and details of this scene are left up to you but must consist of different colors and2D shapes. You must make sure you to meet the following requirement: - Define JavaScript variables and constants (using let and const) - Use more than one conditional structure (if/else;...) - Use more than one loop (for, while, do/while) - Define and call functions - Make your scene interactive by having at least two components controlled using a form