Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: MIA, Ask an Expert: Simplest oval procedure... From Sergei in Moscow
From: askanexpert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 9 Mar 2007 05:13:57 -0700 (MST)

This is an automatic message sent from the web form at:
http://mia.openworldlearning.org/mwforum.htm

from: Alain <alain@xxxxxxx>
date: Fri Mar  9 05:13:57 2007
platform: Platform not specified
version: MicroWorlds Ex

Simplest oval procedure... From Sergei in Moscow:

Use 2 turtles. First one (t1) draw the usual circle, second one 
(t2) is "watching" t1: it's x-coordinate is the same as t1's 
and it's y-coordinate is (for example) half of t1's:

setpos list ask "t1 [xcor] 0.5 * ask "t1 [ycor].

The procedures go like this:

to oval
t1, home pu
t2, home pd
repeat 360 [followme]
end

to followme
t1, fd 1 rt 1
t2, setpos list ask "t1 [xcor] 0.5 * ask "t1 [ycor]
end





  • Previous by thread: oval question
  • Next by thread: List Processing Vocabulary

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008