Using the drawing functions, draw a bull’s eye.

The easiest way to accomplish this task is with the “addOval” and “addOvalFilled” methods available in JES. These can be found in JES Functions > Pictures. Using them you can get a method like:


```

def makeBullseye():

canvas = makeEmptyPicture(100,100)

addOval(canvas, 10,10, 80,80)

addOval(canvas, 20,20, 60,60)

addOval(canvas, 30,30, 40,40)

addOvalFilled(canvas,40,40,20,20,black)

return canvas

```



Computer Science & Information Technology

You might also like to view...

A Dataset is a copy of the data that can be accessed by an application.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Unlike citations from books, Web citations have no information listed for ________

A) name B) author C) year D) page number

Computer Science & Information Technology

Most application code is contained in its controllers.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The breadth first traversal of a graph is similar to traversing a binary tree ____.

A. node-by-node B. branch-by-branch C. root-to-leaf D. level-by-level

Computer Science & Information Technology