# Pages cs151s10proj1 Jess Hilary and Diana

Jess Mullaney

Hilary Barr

Diana Manduca

Directory for Python files: in jlmullan/Project 1

List of Commands:

Draw a star inside a circle with five smaller circles outside the star.

Director: Hilary

Artist: Diana

Draw a star: each side of the star is two boxes long

Draw a square around the star: each side of square is 10 boxes long

Draw 8 dots around the star: each dot touches star, diameter is one box, colored in

Director: Jess

Artist: Hilary

Definitions -

Pen up- pick your pen up off the paper
Pen down- place your pen back down on the paper
Pen forward- draw in the direction indicated for 1 unit= 6 boxes
Pen turn left 1 angular unit- indicates the degree of rotation counter clockwise  for 1 angular unit= 90 degrees
Pen turn right for 1 angular unit- indicates the degree of rotation clockwise where 1  angular unit= 90 degrees
Pen go to point (x,y)- pick up the pen and move it to a designated point

Pen down

Pen right

Pen forward

Pen forward

Pen right

Pen forward

Pen right

Pen forward

Pen forward

Pen right

Pen forward

Director: Diana

Artist: Jess

Pen forward

Pen forward

Pen forward

Pen right

Pen forward

Pen right

Pen forward

Pen left

Pen forward

Pen left

Pen forward

Pen left

Pen forward

Director: Hilary

Artist: Diana

Pen down

Execute list Shape A

Pen up

Pen forward

Pen forward

Pen down

Execute list Shape B

Director: Diana

Artist: Jess

Shape A

Pen down

Pen right

Pen forward (A)

Pen right

Pen forward (B)

Pen right

Pen forward (A)

Pen right

Pen forward (B) Shape B

Pen forward (A)

Pen right

Pen forward (B)

Pen right

Pen forward (B)

Pen left

Pen forward (B)

Pen left

Pen forward (B)

Pen left

Pen forward (B) Shape D

Pen down

A=12

B=6

Execute list Shape A

Pen up

Pen forward

Pen forward

Pen down

A=18

B=6

Execute list Shape B

Director: Jess

Artist: Hilary

Python Images

1.

2.

3.

4.

Extension

Questions

1.     Yes, the artist drew the shape that I expected her to.  This is because we have a shared knowledge of shapes and of the adjectives “inside” and “outside,” allowing for a similar interpretation of the directions.  Also, I asked the artist to draw the same number of smaller circles around the star as there are sides of the star, so it was easy for her to assume she should draw one circle per side of the star.

2.     We shared the assumptions that the star inside should be as centered as possible within both the circle and the box.  In the second task, the additional descriptions for each command allowed the director to more easily convey the specifics of the drawing. After seeing the drawing of the commands, I didn’t feel like any information was missing.

3.     There was much more ambiguity in the directions to the first two tasks in comparison to the later ones.  For example, as the director I simply wrote to place a star inside a circle, not specifying the distance to put between the two, or the exact dimensions of either object.  A computer cannot handle any of this ambiguity because it does not have our shared knowledge base (of language, shapes, etc.).

4.     More information was given for task 4 compared to  task 3. In order to make it different from the simple rectangle we created in task 3, many more commands were needed. Also, the shared knowledge from creating task 3 made creating task 4 a little easier.

5.     Yes, because we didn’t have to type the commands multiple times to create the shape.  Instead, we could simply type the defined label for the set of commands.

6.     It would end up drawing the same shape twice, because it would draw the commands and then would draw the defined label for all the commands.

7.     Using variables, with the last version of our shape command list we could create an infinite number of shapes.  This is because we could assign an infinite number of values for the shape’s dimensions.

8.     No, if we changed our shapeD we would not need to change our shapeE because shapeE will automatically change, since it is defined by shapeD.  ShapeE does not care because it will follow whatever commands define it, which in this case is shapeD.

9.     The most challenging aspect was remembering the details and writing the commands exactly as needed in to obtain the desired shape.  It’s sometimes difficult to envision the exact commands the computer needs in order to create a certain shape.

Labels