SlideShare a Scribd company logo
1 of 1
Download to read offline
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 ambikacomputer4301

Todas las siguientes afirmaciones describen correctamente alguna par.pdf
Todas las siguientes afirmaciones describen correctamente alguna par.pdfTodas las siguientes afirmaciones describen correctamente alguna par.pdf
Todas las siguientes afirmaciones describen correctamente alguna par.pdfambikacomputer4301
 
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdf
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdfTodas las siguientes afirmaciones describen con precisi�n una comuni.pdf
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdfambikacomputer4301
 
To what extent do you believe that social media is or is not ubiquit.pdf
To what extent do you believe that social media is or is not ubiquit.pdfTo what extent do you believe that social media is or is not ubiquit.pdf
To what extent do you believe that social media is or is not ubiquit.pdfambikacomputer4301
 
This data shows the relation between Tucson and Phoenixs airports a.pdf
This data shows the relation between Tucson and Phoenixs airports a.pdfThis data shows the relation between Tucson and Phoenixs airports a.pdf
This data shows the relation between Tucson and Phoenixs airports a.pdfambikacomputer4301
 
To examine the potential effects on the transmission of dengue, Bian.pdf
To examine the potential effects on the transmission of dengue, Bian.pdfTo examine the potential effects on the transmission of dengue, Bian.pdf
To examine the potential effects on the transmission of dengue, Bian.pdfambikacomputer4301
 
To complete this discussion, please base your work on Enron, WorldCo.pdf
To complete this discussion, please base your work on Enron, WorldCo.pdfTo complete this discussion, please base your work on Enron, WorldCo.pdf
To complete this discussion, please base your work on Enron, WorldCo.pdfambikacomputer4301
 
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdfTitle Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdfambikacomputer4301
 
This assignment is using Logism to create circuits. I have been tryi.pdf
This assignment is using Logism to create circuits. I have been tryi.pdfThis assignment is using Logism to create circuits. I have been tryi.pdf
This assignment is using Logism to create circuits. I have been tryi.pdfambikacomputer4301
 
Tide is conducting market research to assess a new detergent theyre.pdf
Tide is conducting market research to assess a new detergent theyre.pdfTide is conducting market research to assess a new detergent theyre.pdf
Tide is conducting market research to assess a new detergent theyre.pdfambikacomputer4301
 
Throughout the course project, your persona is that of a data analys.pdf
Throughout the course project, your persona is that of a data analys.pdfThroughout the course project, your persona is that of a data analys.pdf
Throughout the course project, your persona is that of a data analys.pdfambikacomputer4301
 
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdfThree students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdfambikacomputer4301
 
Three randomly selected children are surveyed. The ages of the child.pdf
Three randomly selected children are surveyed. The ages of the child.pdfThree randomly selected children are surveyed. The ages of the child.pdf
Three randomly selected children are surveyed. The ages of the child.pdfambikacomputer4301
 
This week the concept that leadership is both an art and a science w.pdf
This week the concept that leadership is both an art and a science w.pdfThis week the concept that leadership is both an art and a science w.pdf
This week the concept that leadership is both an art and a science w.pdfambikacomputer4301
 
This week we are going to look at how benchmarking is used in the cu.pdf
This week we are going to look at how benchmarking is used in the cu.pdfThis week we are going to look at how benchmarking is used in the cu.pdf
This week we are going to look at how benchmarking is used in the cu.pdfambikacomputer4301
 
This group assignment provides an opportunity to develop your databa.pdf
This group assignment provides an opportunity to develop your databa.pdfThis group assignment provides an opportunity to develop your databa.pdf
This group assignment provides an opportunity to develop your databa.pdfambikacomputer4301
 
This question is related to genetics John and Jane plan to have 4 c.pdf
This question is related to genetics  John and Jane plan to have 4 c.pdfThis question is related to genetics  John and Jane plan to have 4 c.pdf
This question is related to genetics John and Jane plan to have 4 c.pdfambikacomputer4301
 
This question is on bacterial gene mapping through transformation.In.pdf
This question is on bacterial gene mapping through transformation.In.pdfThis question is on bacterial gene mapping through transformation.In.pdf
This question is on bacterial gene mapping through transformation.In.pdfambikacomputer4301
 
this question is for genetics Mendel finds a new species of pea pla.pdf
this question is for genetics  Mendel finds a new species of pea pla.pdfthis question is for genetics  Mendel finds a new species of pea pla.pdf
this question is for genetics Mendel finds a new species of pea pla.pdfambikacomputer4301
 
This question is about aneuploidy in calico cats (tortoiseshell cats.pdf
This question is about aneuploidy in calico cats (tortoiseshell cats.pdfThis question is about aneuploidy in calico cats (tortoiseshell cats.pdf
This question is about aneuploidy in calico cats (tortoiseshell cats.pdfambikacomputer4301
 
Thirty small communities in Connecticut (population near 10,000 each.pdf
Thirty small communities in Connecticut (population near 10,000 each.pdfThirty small communities in Connecticut (population near 10,000 each.pdf
Thirty small communities in Connecticut (population near 10,000 each.pdfambikacomputer4301
 

More from ambikacomputer4301 (20)

Todas las siguientes afirmaciones describen correctamente alguna par.pdf
Todas las siguientes afirmaciones describen correctamente alguna par.pdfTodas las siguientes afirmaciones describen correctamente alguna par.pdf
Todas las siguientes afirmaciones describen correctamente alguna par.pdf
 
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdf
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdfTodas las siguientes afirmaciones describen con precisi�n una comuni.pdf
Todas las siguientes afirmaciones describen con precisi�n una comuni.pdf
 
To what extent do you believe that social media is or is not ubiquit.pdf
To what extent do you believe that social media is or is not ubiquit.pdfTo what extent do you believe that social media is or is not ubiquit.pdf
To what extent do you believe that social media is or is not ubiquit.pdf
 
This data shows the relation between Tucson and Phoenixs airports a.pdf
This data shows the relation between Tucson and Phoenixs airports a.pdfThis data shows the relation between Tucson and Phoenixs airports a.pdf
This data shows the relation between Tucson and Phoenixs airports a.pdf
 
To examine the potential effects on the transmission of dengue, Bian.pdf
To examine the potential effects on the transmission of dengue, Bian.pdfTo examine the potential effects on the transmission of dengue, Bian.pdf
To examine the potential effects on the transmission of dengue, Bian.pdf
 
To complete this discussion, please base your work on Enron, WorldCo.pdf
To complete this discussion, please base your work on Enron, WorldCo.pdfTo complete this discussion, please base your work on Enron, WorldCo.pdf
To complete this discussion, please base your work on Enron, WorldCo.pdf
 
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdfTitle Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
Title Is it a Planned ShowMrs. Jancy works with TBL global servic.pdf
 
This assignment is using Logism to create circuits. I have been tryi.pdf
This assignment is using Logism to create circuits. I have been tryi.pdfThis assignment is using Logism to create circuits. I have been tryi.pdf
This assignment is using Logism to create circuits. I have been tryi.pdf
 
Tide is conducting market research to assess a new detergent theyre.pdf
Tide is conducting market research to assess a new detergent theyre.pdfTide is conducting market research to assess a new detergent theyre.pdf
Tide is conducting market research to assess a new detergent theyre.pdf
 
Throughout the course project, your persona is that of a data analys.pdf
Throughout the course project, your persona is that of a data analys.pdfThroughout the course project, your persona is that of a data analys.pdf
Throughout the course project, your persona is that of a data analys.pdf
 
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdfThree students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
Three students, Habib, Vikki and Claire, in Bio 200 ran their sample.pdf
 
Three randomly selected children are surveyed. The ages of the child.pdf
Three randomly selected children are surveyed. The ages of the child.pdfThree randomly selected children are surveyed. The ages of the child.pdf
Three randomly selected children are surveyed. The ages of the child.pdf
 
This week the concept that leadership is both an art and a science w.pdf
This week the concept that leadership is both an art and a science w.pdfThis week the concept that leadership is both an art and a science w.pdf
This week the concept that leadership is both an art and a science w.pdf
 
This week we are going to look at how benchmarking is used in the cu.pdf
This week we are going to look at how benchmarking is used in the cu.pdfThis week we are going to look at how benchmarking is used in the cu.pdf
This week we are going to look at how benchmarking is used in the cu.pdf
 
This group assignment provides an opportunity to develop your databa.pdf
This group assignment provides an opportunity to develop your databa.pdfThis group assignment provides an opportunity to develop your databa.pdf
This group assignment provides an opportunity to develop your databa.pdf
 
This question is related to genetics John and Jane plan to have 4 c.pdf
This question is related to genetics  John and Jane plan to have 4 c.pdfThis question is related to genetics  John and Jane plan to have 4 c.pdf
This question is related to genetics John and Jane plan to have 4 c.pdf
 
This question is on bacterial gene mapping through transformation.In.pdf
This question is on bacterial gene mapping through transformation.In.pdfThis question is on bacterial gene mapping through transformation.In.pdf
This question is on bacterial gene mapping through transformation.In.pdf
 
this question is for genetics Mendel finds a new species of pea pla.pdf
this question is for genetics  Mendel finds a new species of pea pla.pdfthis question is for genetics  Mendel finds a new species of pea pla.pdf
this question is for genetics Mendel finds a new species of pea pla.pdf
 
This question is about aneuploidy in calico cats (tortoiseshell cats.pdf
This question is about aneuploidy in calico cats (tortoiseshell cats.pdfThis question is about aneuploidy in calico cats (tortoiseshell cats.pdf
This question is about aneuploidy in calico cats (tortoiseshell cats.pdf
 
Thirty small communities in Connecticut (population near 10,000 each.pdf
Thirty small communities in Connecticut (population near 10,000 each.pdfThirty small communities in Connecticut (population near 10,000 each.pdf
Thirty small communities in Connecticut (population near 10,000 each.pdf
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 

To create a 2D graphics scene using the HTML canvas element. The ide.pdf

  • 1. 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