• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Code for a circle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code for a circle


  • Subject: Re: Code for a circle
  • From: Emmanuel <email@hidden>
  • Date: Thu, 13 Mar 2003 23:43:17 +0100

At 9:36 PM +0100 13/03/03, Helmut Fuchs wrote:

x=centerX+radius*sin angle
y=centerY+radius*cos angle

If AppleScript had proper math functions on board, this should be easy to implement. But it hasn't. I still don't grasp why a scripting language has to rely on additions to do trigonometric functions (and even something as basic as rounding a number has to be added by way of "Standard Additions").

Or, you could say: since you can easily find a free and reliable Scripting Addition to do trigonometric functions, this is easy to implement :-)

(for instance the Satimage osax <http://www.satimage-software.com/en/softx.html#osax>)

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Code for a circle (From: Paul Skinner <email@hidden>)
 >Re: Code for a circle (From: Helmut Fuchs <email@hidden>)

  • Prev by Date: Re: Determining item number matching "x" in a list
  • Next by Date: reading a file >32Kb
  • Previous by thread: Re: Code for a circle
  • Next by thread: Math with AS (was: Code for a circle)
  • Index(es):
    • Date
    • Thread