Spinning

By BlueThen on May 03, 2008

Spinning, sort of like that Swirl thing I had, except that there are rows of dots spinning around the cursor.

Image

;Spinning 1.0
;Made by Bluethen on May 3, 2008.
;To install, paste this script into your remotes (alt + r)
;then type /spinning or right click the channel or status and click "Spinning."
;Move your cursor over the window to see the effect.
menu channel,status {
Spinning: { spinning }
}
alias spinning window -paoCzdk0 +tnbL @Spinning -1 -1 400 400 | window -poCzdhk0 +tnbL @spin.buf -1 -1 800 800 | spin.init
alias -l spin.init {
  %spin.x = 10 | %spin.y = 10
  while (%spin.x > 0) {
    hadd -m %spin.x $+ . $+ %spin.y a $calc(36 * %spin.x) | dec %spin.x
    if ((%spin.x < 1) && (%spin.y > 0)) { %spin.x = 10 | dec %spin.y }
  }
  spin.frame
}
menu @spinning {
  mouse: { set %spin.l y }
  leave { set %spin.l n }
}
alias -l spin.frame {
  if (%spin.c == y) { unset %spin.c | halt }
  clear @spin.buf | drawfill @spin.buf 0 0 1 1 | drawtext @spin.buf 1 Tahoma 40 350 50 Made By BlueThen | drawtext @spin.buf 1 Tahoma 40 400 100 BlueThen.com
  if (%spin.l == y) {
    %spin.x = 10 | %spin.y = 10
    while (%spin.x > 0) {
      drawdot @spin.buf 1 %spin.y $calc(($mouse.x * 2) + ((%spin.y * 40) * $cos($hget(%spin.x $+ . $+ %spin.y ,a)).deg)) $calc(($mouse.y * 2) + ((%spin.y * 40) * $sin($hget(%spin.x $+ . $+ %spin.y ,a)).deg))
      hinc %spin.x $+ . $+ %spin.y a %spin.y | dec %spin.x
      if ((%spin.x < 1) && (%spin.y > 0)) { %spin.x = 10 | dec %spin.y }
    }
  }
  drawcopy -m @spin.buf 0 0 800 800 @spinning 0 0 400 400 | .timer -mo 1 0 spin.frame

}
on *:close:@spinning: { window -c @spin.buf | set %spin.c y | unset %spin.x %spin.y %spin.l }

Comments

Sign in to comment.
Joshuaxiong1   -  May 04, 2008

Nice technology like command prompt

 Respond  
criminal   -  May 04, 2008

Getting dizzy :D
awesome.. 7/10

 Respond  
EL   -  May 03, 2008

Again i like it an yeah as mountainpiss suggested add some color maybe make it got one way then the other depending where on the picwin your mouse is ? neat.\"Rate ir or Hate it?\"...6/10.`-.-

 Respond  
guest598594   -  May 03, 2008

1/10. It\'s totally useless.

?

I like this one, it\'s pretty cool. Perhaps add some color? I give it a 7/10 :)

 Respond  
BlueThen   -  May 03, 2008

1/10. It\'s totally useless.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.