Author Topic: Creepy  (Read 426 times)

0 Members and 1 Guest are viewing this topic.

Offline bikemadness

  • Atari ST
  • ***
  • Posts: 224
  • Karma: 23
  • Hard players don't go home.
    • View Profile
Creepy
« on: March 06, 2008 »


some old northern lights trials - couldn't stick with it.

Code: [Select]
open window 640,512
e=30
d=6*e+(e/4)
s=.25
bar=640
dim x(bar),y(bar),h(bar)
dim r(bar),g(bar),b(bar)
for a=1 to bar
x(a)=a
y(a)=400
h(a)=sin(a/e)*50
r(a)=int(ran(256))
g(a)=int(ran(256))
b(a)=int(ran(256))
next a
repeat
setdrawbuf vm
vm=1-vm
setdispbuf vm
clear window
e=e+s
if e<25 or e>35 s=-s
b=b+1
if b>d b=1
for a=1 to bar
h(a)=sin((a+b)/e)*50
setrgb 1,r(a),g(a),b(a)
line x(a),h(a)+(y(a)-200) to x(a),h(a)+(y(a)-100)
next a
until (1=0)

looks a lot better on an LCD screen...
Have a Yahappy day.
I don't know what is wrong with the world - but I know how to fix it.

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3052
  • Karma: 174
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Creepy
« Reply #1 on: March 07, 2008 »
This would be a nice effect to include in a psychadelic demo

Challenge Trophies Won: