### Draw a picture made of ellipses and rectangles

Assignment Help Other Subject
##### Reference no: EM132851659

Hour of Code - Programming Assignment

Draw a picture made of ellipses and rectangles!

For example, you could make a selfportrait, an alien creature, or something more abstract. itll just be black and white for now, well get to color in the next video.

You can work on your own pace, but we recommend approximately ten minutes on this assignment before moving on.

Reminders
To draw a rectangle: rect (a,b,c,d); To draw an ellipse: ellipse(a,b,c,d);
a - X (horizontal) location of the shape's upper-left corner
b - Y (vertical) location of the shape's uppper-left corner
c - width of the shape
d - height of the shape

You can build off the example below or add to your previous design by selecting -My Code from Last Lesson* under the -Code menu below. You can work on your own pace, but we recommend approximately ten minutes on this assignment before moving on.

Reminders
Set the background color: bockgrcvnd(r,g,b);
Set the outline color: st roke(r,g,b);
Set the interior color: fill(r,g,b);
Don't forget, you need to call stroke() and fill() before you draw the shape!
r - amount of red, from 0 (none) to 255 (maximum)
g - amount of green, from 0 (none) to 255 (maximum)
b - amount of blue, from 0 (none) to 255 (maximum)

Animate your program using mouseX and mouseY!
You can build off the example below or add to your previous design by selecting 'My Code horn Last Lesson' below. You can work on your own pace. but we recommend approximately ten minutes on this assignment before moving on if you forget the syntax for setup() and draw() . here is a reminder!
void setup() size(500,400); }
void draw() background(0,0,0);
M1(255,255,255);
ellipse(mouseX,mouseY,60,60);
)

We recommend a maximum canvas size of 500 by 400 pixels for this tutorial. but feel free to experiment your window skinnier or shorter!

Use a mouse press to change what your program is doing!

You can build off the example below or add to your previous design by selecting 'My Code from Last Lesson' below. You can work on your own pace, but we recommend approximately ten minutes on this assignment before moving on.

Final step:

1. Continue to edit your code as much as you would like on your original image.

2. Make sure your last block of code includes elements from each section of the tutorial.

3. When you finish, click the Share button.

4. At the Confirm dialog box hit Continue. It is your choice whether or not you want to, "Share in gallery."

5. Copy the link in the next dialog box and pate it into a Word document that I can see your final creation.

6. In that document also past a copy of your last block of code.

7. I will run your block to make sure it creates the same image.

8. Finally, paste a screen shot of after you finish the Questions section. Make sure I can see the date and time in the status area of your screen shot. Submit this document into the Blackboard assignment link.

Attachment:- Programming Assignment Option.rar

#### Describe how you would provide patient-centered care

Based upon what you have read about people of that particular heritage describe how you would provide patient-centered care for a 75 year old of that culture who has just be

After reading the article, share your understanding of the ethical approaches and viewpoints associated with the highly debated topic of corporal punishment for children. De

#### House of representatives-equal representation in the senate

"Framers" of the Constitution ultimately decided the representation in Congress should be population based in the House of Representatives and equal representation in the Sena

#### Write a organizational subsystem needs to changed in rsps

MGT 420:The three major human resources management responsibilities are: attracting a quality workforce, developing a quality workforce, and maintaining a quality workforce

#### What does this dependency mean for us in the long run

I have seen people turn on the GPS to go to places that they already know how to get to or even follow it when they know that there could be a shorter path. Have you ever se

#### What is the epidemiological concern

Address the following questions- What is the epidemiological concern? What population is it affecting? What potential population may be affected if this concern is not address

#### What is the enthalpy change needed to heat

What is the enthalpy change needed to heat 3 lb of water from 60 psia and 32°F to steam at 1atm and 300 °F? What is the enthalpy change needed to heat 1 lb of water at 60 psia

#### What is meant by the concept of separate spheres

What are the three reasons why the Industrial Revolution began in Great Britain? What is meant by the concept of separate spheres? What is nationalism and what impact did it h