SlideShare a Scribd company logo
1 of 1
Download to read offline
I need the code to be done using processing, or Java
The program creates a sketch that draws an animal with the keyboard and/or mouse controlling
the parameters. It has a tree-like structure for the limbs of your animal.
The Root node represents the torso, and there will be a number of arms/legs that are connected to
the torso. Consider that each articulated body part in the tree is an instance of a class that has the
visual and geometric properties of the body. The mouse and/or keyboard interaction allows you
to control some of the appearance of each part.
There should be a structure that stores info about the current body part, and has
pointers/references to child instances. It should also store information about the bounding box of
each drawable part of the animal so that it can be selected and edited. Pvectors should be used
due to the following function:
PVector v1 = new PVector( 10.0, 5.0 );
v1.rotate( HALF_PI );
With a limb selected, the user should have a little control panel in your editor to adjust the
appearance of it. Appearance could mean color or angle, or anything suitable.
Appearance of the Animal:
The animal should be more than a stick dog, or stick bird, or stick human but it can be any
animal
The code should have: A base class, 2 subclasses that extend the base class (say one for the head
and one for leg(s)), Provide user interface for saving the drawn animal as a screenshot image,
User interaction with the mouse and/or keyboard lays down your animal on the drawing area,
and allows animal editing, and Add controlP5 controls to select body parts, to clear the screen,
etc

More Related Content

More from aartiwomensworld

If data is positively skewed then a) mean mode b) mean mode C) range.pdf
If data is positively skewed then a) mean  mode b) mean  mode C) range.pdfIf data is positively skewed then a) mean  mode b) mean  mode C) range.pdf
If data is positively skewed then a) mean mode b) mean mode C) range.pdfaartiwomensworld
 
Examine the graph from Ammann & Offutt (2015) relating to the cost of.pdf
Examine the graph from Ammann & Offutt (2015) relating to the cost of.pdfExamine the graph from Ammann & Offutt (2015) relating to the cost of.pdf
Examine the graph from Ammann & Offutt (2015) relating to the cost of.pdfaartiwomensworld
 
af Moving to another question will save this response- Question 6 Whic.pdf
af Moving to another question will save this response- Question 6 Whic.pdfaf Moving to another question will save this response- Question 6 Whic.pdf
af Moving to another question will save this response- Question 6 Whic.pdfaartiwomensworld
 
C++ The following function inserts an integer- value- into an array of.pdf
C++ The following function inserts an integer- value- into an array of.pdfC++ The following function inserts an integer- value- into an array of.pdf
C++ The following function inserts an integer- value- into an array of.pdfaartiwomensworld
 
During Durton Company's first two years of operations- the company rep.pdf
During Durton Company's first two years of operations- the company rep.pdfDuring Durton Company's first two years of operations- the company rep.pdf
During Durton Company's first two years of operations- the company rep.pdfaartiwomensworld
 
A nutrient dense food is- A measure of the nutrients provided in a foo.pdf
A nutrient dense food is- A measure of the nutrients provided in a foo.pdfA nutrient dense food is- A measure of the nutrients provided in a foo.pdf
A nutrient dense food is- A measure of the nutrients provided in a foo.pdfaartiwomensworld
 
Determine the amount of the late filing and late payment penalties tha (1).pdf
Determine the amount of the late filing and late payment penalties tha (1).pdfDetermine the amount of the late filing and late payment penalties tha (1).pdf
Determine the amount of the late filing and late payment penalties tha (1).pdfaartiwomensworld
 
What's a discrete probability distribution- Group of answer choices Th.pdf
What's a discrete probability distribution- Group of answer choices Th.pdfWhat's a discrete probability distribution- Group of answer choices Th.pdf
What's a discrete probability distribution- Group of answer choices Th.pdfaartiwomensworld
 
value of the annual dividend that is expected in 4 years from today-(R.pdf
value of the annual dividend that is expected in 4 years from today-(R.pdfvalue of the annual dividend that is expected in 4 years from today-(R.pdf
value of the annual dividend that is expected in 4 years from today-(R.pdfaartiwomensworld
 
This lab bench displays the different means of growing bacterial cultu.pdf
This lab bench displays the different means of growing bacterial cultu.pdfThis lab bench displays the different means of growing bacterial cultu.pdf
This lab bench displays the different means of growing bacterial cultu.pdfaartiwomensworld
 
The National Report on Human Exposure to Environmental Chemicals (Repo.pdf
The National Report on Human Exposure to Environmental Chemicals (Repo.pdfThe National Report on Human Exposure to Environmental Chemicals (Repo.pdf
The National Report on Human Exposure to Environmental Chemicals (Repo.pdfaartiwomensworld
 
21) Clouded leopards are a spotted cat- The spots can either be normal.pdf
21) Clouded leopards are a spotted cat- The spots can either be normal.pdf21) Clouded leopards are a spotted cat- The spots can either be normal.pdf
21) Clouded leopards are a spotted cat- The spots can either be normal.pdfaartiwomensworld
 
Suppose that the government runs a strong budget surplus- At the same.pdf
Suppose that the government runs a strong budget surplus- At the same.pdfSuppose that the government runs a strong budget surplus- At the same.pdf
Suppose that the government runs a strong budget surplus- At the same.pdfaartiwomensworld
 
Question 1 1pts The length of time taken on the SAT is normally distri.pdf
Question 1 1pts The length of time taken on the SAT is normally distri.pdfQuestion 1 1pts The length of time taken on the SAT is normally distri.pdf
Question 1 1pts The length of time taken on the SAT is normally distri.pdfaartiwomensworld
 
Q1- Let X-{X1-X2--Xn} be an independent random sample from a uniformly.pdf
Q1- Let X-{X1-X2--Xn} be an independent random sample from a uniformly.pdfQ1- Let X-{X1-X2--Xn} be an independent random sample from a uniformly.pdf
Q1- Let X-{X1-X2--Xn} be an independent random sample from a uniformly.pdfaartiwomensworld
 
please answer the questions after the a-b-c-and d part You are to dis.pdf
please answer the questions after the a-b-c-and d part  You are to dis.pdfplease answer the questions after the a-b-c-and d part  You are to dis.pdf
please answer the questions after the a-b-c-and d part You are to dis.pdfaartiwomensworld
 
MGT - D2Q1 Imagine yourself as the CEO of a large firm in an industry.pdf
MGT - D2Q1 Imagine yourself as the CEO of a large firm in an industry.pdfMGT - D2Q1 Imagine yourself as the CEO of a large firm in an industry.pdf
MGT - D2Q1 Imagine yourself as the CEO of a large firm in an industry.pdfaartiwomensworld
 
Mixing Saturation occasionally occurs when two air masses mix- Mixing.pdf
Mixing Saturation occasionally occurs when two air masses mix- Mixing.pdfMixing Saturation occasionally occurs when two air masses mix- Mixing.pdf
Mixing Saturation occasionally occurs when two air masses mix- Mixing.pdfaartiwomensworld
 

More from aartiwomensworld (18)

If data is positively skewed then a) mean mode b) mean mode C) range.pdf
If data is positively skewed then a) mean  mode b) mean  mode C) range.pdfIf data is positively skewed then a) mean  mode b) mean  mode C) range.pdf
If data is positively skewed then a) mean mode b) mean mode C) range.pdf
 
Examine the graph from Ammann & Offutt (2015) relating to the cost of.pdf
Examine the graph from Ammann & Offutt (2015) relating to the cost of.pdfExamine the graph from Ammann & Offutt (2015) relating to the cost of.pdf
Examine the graph from Ammann & Offutt (2015) relating to the cost of.pdf
 
af Moving to another question will save this response- Question 6 Whic.pdf
af Moving to another question will save this response- Question 6 Whic.pdfaf Moving to another question will save this response- Question 6 Whic.pdf
af Moving to another question will save this response- Question 6 Whic.pdf
 
C++ The following function inserts an integer- value- into an array of.pdf
C++ The following function inserts an integer- value- into an array of.pdfC++ The following function inserts an integer- value- into an array of.pdf
C++ The following function inserts an integer- value- into an array of.pdf
 
During Durton Company's first two years of operations- the company rep.pdf
During Durton Company's first two years of operations- the company rep.pdfDuring Durton Company's first two years of operations- the company rep.pdf
During Durton Company's first two years of operations- the company rep.pdf
 
A nutrient dense food is- A measure of the nutrients provided in a foo.pdf
A nutrient dense food is- A measure of the nutrients provided in a foo.pdfA nutrient dense food is- A measure of the nutrients provided in a foo.pdf
A nutrient dense food is- A measure of the nutrients provided in a foo.pdf
 
Determine the amount of the late filing and late payment penalties tha (1).pdf
Determine the amount of the late filing and late payment penalties tha (1).pdfDetermine the amount of the late filing and late payment penalties tha (1).pdf
Determine the amount of the late filing and late payment penalties tha (1).pdf
 
What's a discrete probability distribution- Group of answer choices Th.pdf
What's a discrete probability distribution- Group of answer choices Th.pdfWhat's a discrete probability distribution- Group of answer choices Th.pdf
What's a discrete probability distribution- Group of answer choices Th.pdf
 
value of the annual dividend that is expected in 4 years from today-(R.pdf
value of the annual dividend that is expected in 4 years from today-(R.pdfvalue of the annual dividend that is expected in 4 years from today-(R.pdf
value of the annual dividend that is expected in 4 years from today-(R.pdf
 
This lab bench displays the different means of growing bacterial cultu.pdf
This lab bench displays the different means of growing bacterial cultu.pdfThis lab bench displays the different means of growing bacterial cultu.pdf
This lab bench displays the different means of growing bacterial cultu.pdf
 
The National Report on Human Exposure to Environmental Chemicals (Repo.pdf
The National Report on Human Exposure to Environmental Chemicals (Repo.pdfThe National Report on Human Exposure to Environmental Chemicals (Repo.pdf
The National Report on Human Exposure to Environmental Chemicals (Repo.pdf
 
21) Clouded leopards are a spotted cat- The spots can either be normal.pdf
21) Clouded leopards are a spotted cat- The spots can either be normal.pdf21) Clouded leopards are a spotted cat- The spots can either be normal.pdf
21) Clouded leopards are a spotted cat- The spots can either be normal.pdf
 
Suppose that the government runs a strong budget surplus- At the same.pdf
Suppose that the government runs a strong budget surplus- At the same.pdfSuppose that the government runs a strong budget surplus- At the same.pdf
Suppose that the government runs a strong budget surplus- At the same.pdf
 
Question 1 1pts The length of time taken on the SAT is normally distri.pdf
Question 1 1pts The length of time taken on the SAT is normally distri.pdfQuestion 1 1pts The length of time taken on the SAT is normally distri.pdf
Question 1 1pts The length of time taken on the SAT is normally distri.pdf
 
Q1- Let X-{X1-X2--Xn} be an independent random sample from a uniformly.pdf
Q1- Let X-{X1-X2--Xn} be an independent random sample from a uniformly.pdfQ1- Let X-{X1-X2--Xn} be an independent random sample from a uniformly.pdf
Q1- Let X-{X1-X2--Xn} be an independent random sample from a uniformly.pdf
 
please answer the questions after the a-b-c-and d part You are to dis.pdf
please answer the questions after the a-b-c-and d part  You are to dis.pdfplease answer the questions after the a-b-c-and d part  You are to dis.pdf
please answer the questions after the a-b-c-and d part You are to dis.pdf
 
MGT - D2Q1 Imagine yourself as the CEO of a large firm in an industry.pdf
MGT - D2Q1 Imagine yourself as the CEO of a large firm in an industry.pdfMGT - D2Q1 Imagine yourself as the CEO of a large firm in an industry.pdf
MGT - D2Q1 Imagine yourself as the CEO of a large firm in an industry.pdf
 
Mixing Saturation occasionally occurs when two air masses mix- Mixing.pdf
Mixing Saturation occasionally occurs when two air masses mix- Mixing.pdfMixing Saturation occasionally occurs when two air masses mix- Mixing.pdf
Mixing Saturation occasionally occurs when two air masses mix- Mixing.pdf
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
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
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
“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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.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 ...
 
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
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
“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...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

I need the code to be done using processing- or Java The program creat.pdf

  • 1. I need the code to be done using processing, or Java The program creates a sketch that draws an animal with the keyboard and/or mouse controlling the parameters. It has a tree-like structure for the limbs of your animal. The Root node represents the torso, and there will be a number of arms/legs that are connected to the torso. Consider that each articulated body part in the tree is an instance of a class that has the visual and geometric properties of the body. The mouse and/or keyboard interaction allows you to control some of the appearance of each part. There should be a structure that stores info about the current body part, and has pointers/references to child instances. It should also store information about the bounding box of each drawable part of the animal so that it can be selected and edited. Pvectors should be used due to the following function: PVector v1 = new PVector( 10.0, 5.0 ); v1.rotate( HALF_PI ); With a limb selected, the user should have a little control panel in your editor to adjust the appearance of it. Appearance could mean color or angle, or anything suitable. Appearance of the Animal: The animal should be more than a stick dog, or stick bird, or stick human but it can be any animal The code should have: A base class, 2 subclasses that extend the base class (say one for the head and one for leg(s)), Provide user interface for saving the drawn animal as a screenshot image, User interaction with the mouse and/or keyboard lays down your animal on the drawing area, and allows animal editing, and Add controlP5 controls to select body parts, to clear the screen, etc