fataly Posted February 25, 2008 Share Posted February 25, 2008 so, i try to make mouse cursor moving perfect circle. How i make this? i have tried this: while 1 $pi = 3.14159265358979 $x = sin($pi / 4) ;returns 0.707106781186547 which you should recognize as sqrt(2)/2 $degToRad = $pi / 540 $y = Sin(360 * $degToRad) ;sine of 90° Sleep(100) MouseMove($x,$y) wend Link to comment Share on other sites More sharing options...
weaponx Posted February 25, 2008 Share Posted February 25, 2008 I wrote something that does this already:#427527 Link to comment Share on other sites More sharing options...
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