Tuesday, November 27, 2007

Logo day 4

Today we will talk about x-y geometry in Logo. Then you can choose to use either x-y or turtle geometry in your program.

Working with your partner, finish the program surprise with (at least!) these three elements:

  • randomly chosen regular polygon

  • drawn in a randomly chosen location

  • in a randomly chosen color


Randomly means not known in advance, with each possible outcome equally likely.

Suggestion: work on the three required elements separately, then combine them. Everything you need to know is in the Logo handout! The beauty of programming is that you don't have to do it in a prescribed way; you are free to invent your own alternative way of doing things.

Submit your work by showing it to me at your desk, then copying the text of your program (with all its procedures) into an e-mail to me. Make sure that both programmers' names are included.

It is OK to make a diffeent program of equal complexity, but check with me first!

No comments: