LSD Tunnel

By knoeki on Jul 14, 2009

Knoeki strikes back with another lame piece of code...

Image

usage:

/lsd-tunnel [w h]

width/height are optional, using anything higher than default does not guarantee a smooth experience.

(uncomment line 5 if you have whilefix.dll, which is highly reccomended)

EDIT: added a slightly different version... /lsd-tunnel2

alias lsd-tunnel {
   window -k0pdf @lsd-tunnel -1 -1 $iif($2 != $null, $1 $2, 320 200)
   var %count 2
   while (%count <= 14300) {
;      whilefix
      drawrot -fb @lsd-tunnel $rand(0,16777215) %count 0 0 $1 $2
      inc %count 2
   }
}

alias lsd-tunnel2 {
   window -k0pdf @lsd-tunnel -1 -1 $iif($2 != $null, $1 $2, 320 200)
   var %count 2
   var %subcount 0
   while (%count <= 14300) {
;      whilefix
      if (%subcount == 4) {
         var %direction 0
      }
      elseif (%subcount == 0) {
         var %direction 1
      }
      drawrot -fb @lsd-tunnel $rand(0,16777215) %subcount 0 0 $1 $2
      $iif(%direction == 1, inc, dec) %subcount 2
      inc %count 2
   }
}

alias -l whilefix {
   dll WhileFix.dll WhileFix .
}

Comments

Sign in to comment.
knoeki   -  Jul 14, 2009

[02:21:08] |Knoeki > ...you commented on my picwin snippet, I am honored ;_)
[02:21:16] |BlueThen > lol.

 Respond  
BlueThen   -  Jul 14, 2009

eyes bleed

pretty nice!

 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.