Guest Brian Smith Posted January 16, 2005 Share Posted January 16, 2005 Here is a useless script I wrote that will make your mouse cursor look like it is flushing down the toilet. $xr = 500 $yr = 500 $x = (@DesktopWidth / 2) $y = (@DesktopHeight / 2) $step = .2 $Pi = 3.14159265358979 $grow = "no" While $xr > 0 And $xr < 525 For $s = 0 To $Pi * 2 Step $step $xpos = $x + $xr * Cos($s) $ypos = $y + $yr * Sin($s) MouseMove($xpos, $ypos, 0) Next if $grow = "no" Then $xr = $xr - 20 $yr = $yr - 20 EndIf if $xr = 0 Then $grow = "yes" EndIf if $grow = "yes" Then $xr = $xr + 20 $yr = $yr + 20 EndIf Wend Link to comment Share on other sites More sharing options...
DirtyBanditos Posted January 16, 2005 Share Posted January 16, 2005 (edited) Here is a useless script I wrote that will make your mouse cursor look like it is flushing down the toilet. $xr = 500 $yr = 500 $x = (@DesktopWidth / 2) $y = (@DesktopHeight / 2) $step = .2 $Pi = 3.14159265358979 $grow = "no" While $xr > 0 And $xr < 525 For $s = 0 To $Pi * 2 Step $step $xpos = $x + $xr * Cos($s) $ypos = $y + $yr * Sin($s) MouseMove($xpos, $ypos, 0) Next if $grow = "no" Then $xr = $xr - 20 $yr = $yr - 20 EndIf if $xr = 0 Then $grow = "yes" EndIf if $grow = "yes" Then $xr = $xr + 20 $yr = $yr + 20 EndIf Wend<{POST_SNAPBACK}>Hello Great for your first Script! Happy Coding! Edited January 16, 2005 by DirtyBanditos Link to comment Share on other sites More sharing options...
layer Posted January 16, 2005 Share Posted January 16, 2005 haha thats pretty neat, good job! FootbaG Link to comment Share on other sites More sharing options...
killaz219 Posted January 17, 2005 Share Posted January 17, 2005 (edited) You could make pi much more accurate by doing the numbers from the attached txt file (not that you would need it with a step of .2) pi.txt Edited January 17, 2005 by killaz219 Link to comment Share on other sites More sharing options...
Chris_1013 Posted January 17, 2005 Share Posted January 17, 2005 LOL - how wonderfully pointless You could make pi much more accurate by doing the numbers from the attached txt file...<{POST_SNAPBACK}>Wishes for an @PI... 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