ChrisL Posted May 29, 2008 Posted May 29, 2008 Can someone explain how you would work out points on a circle. Lets say I have an imaginary circle in the middle of my screen and I want to have 10 points all equally spaced around the circle. How do I work this out. I know the diameter of the circle and from that you can times it by Pi to get the circumfrance of the circle. You could then work out what distance around the circle the points need to be but I'm not sure how you translate this in to pixel positions. I assume that you would have to relate it to the position of the center pixel but that's as much as I know. I can't remember back to my school days unfortunately. Thanks [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
weaponx Posted May 29, 2008 Posted May 29, 2008 Check out my function to move the mouse in a circle:http://www.autoitscript.com/forum/index.ph...mp;#entry427527
weaponx Posted May 29, 2008 Posted May 29, 2008 I forgot about this. This is a unit circle example I made.#463161
ChrisL Posted May 29, 2008 Author Posted May 29, 2008 Cool thanks I'll take a look [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now