xy coordinate using slope statements?
Steve Bonham
sbonham at georgiasouthern.edu
Mon Jun 20 11:56:57 EDT 2005
Alejandro, Mikey and other Revers,
Thanks for your input. The bezier stack certainly looks promising.
But I'm not sure I need it for this project. Although it WOULD be
useful for creating lakes, creeks, and sand bunker hazards!
All I really need is help with getting Rev to draw a trapezoid at 4
particular screen coordinates. The trouble is HOW to determine the
screen coordinates?
Can you check this illustration:
http://academics.georgiasouthern.edu/cet/SB/fairway.jpg
I need to identify the 4 coordinates (a,b,c,d) of a trapezoid to be
draw by Rev based on the coordinates of a line between two graphics
(tee and green). As the "green" is positioned randomly the angle can
be any angle between 1 and 360 degrees. If the mid-line of the
trapezoid was verticle (360 or 180) or horizontal (90 or 270) this
would be a piece of cake for me- BUT using cos, acos, sin, tan, etc.
is not part of my skill set and I *suspect* that that is what is
required here.
Any suggestions?
Thx,
S
>on Fri, 17 Jun 2005
>Steve Bonham wrote:
>> Since polygons cannot have smooth
>> points in Rev (correct?)
>
>Hi Steve,
>
>In the stack "PenToolv3.2c", you could
>see polygon graphics with "smooth points"
>as you call the bezier handles.
>
><http://geocities.com/capellan2000/penToolv032c.zip>
>
>al
>
>Visit my site:
>http://www.geocities.com/capellan2000/
>
>
>
>____________________________________________________
>Yahoo! Sports
>Rekindle the Rivalries. Sign up for Fantasy Football
>http://football.fantasysports.yahoo.com
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
--
--------------------------------------------------------------------------------------------------
Steve Bonham
Director, Faculty Technology Development Laboratory
Center for Excellence in Teaching - Georgia Southern University
Statesboro, GA 30460-8143
--------------------------------------------------------------------------------------------------
More information about the use-livecode
mailing list