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]

Subject: more "Intersection"
From: mwforum@xxxxxxxxxxxxxxxxxx (Daniel Ajoy)
Date: Thu, 12 Aug 2004 15:55:14 -0500

> This seems to work (it's my code, all the bugs too :)

It did have a bug. 

Project attached.


Daniel
OpenWorld Learning (OWL)
http://mia.openworldlearning.org



On 12 Aug 2004 at 13:27, Jeff Knope wrote:

> Hi Wendy,
> 
> I think you're right about the relatively rough positioning based on pixel 
> color. Consider, in the
> math, there is actually 9-place precision both ways in the space of a single 
> pixel. That's a really
> big number of discreet locations.
> 
> I added code to Daniel's so it draws the lines. The top and bottom lines 
> here are Daniel's, so you
> can see where I put it in:
> 
> make "y4 last last last :l
> 
> ht
> pu setpos list :x1 :y1
> pd setpos list :x2 :y2
> pu setpos list :x3 :y3
> pd setpos list :x4 :y4
> pu home st 
> 
> make "d1x :x1 - :x2
> 
> I can't recall for sure, I think you have to hatch a turtle too.
> 
> --Jeff
> 


Attachment: LineIntersection.mw2
Description: Binary data


  • Previous by thread: more "Intersection"
  • Next by thread: קורס "המחשב כסביבה לימודית" - זהבה ויצמן

  • 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