Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / rainbow draw (20 lines uncompressed)

Author
Message
daneshere
17
Years of Service
User Offline
Joined: 29th May 2006
Location:
Posted: 29th May 2006 16:32
here is a drawing programming i knocked up while playing with the rnd command (im a noob):
q: quit
t: set line thickness
left mouse: draw
right mouse: clear screen
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 29th May 2006 17:24
Quote: "Error obtaining Source Code, invalid ID. Sorry but I've given up."


Use the code tags so that we can see your code. This error only happens to people with new status on the forums, but everyone gets used to using the code tags anyway.



Insanity is just a state of mind
daneshere
17
Years of Service
User Offline
Joined: 29th May 2006
Location:
Posted: 29th May 2006 17:30
here is a drawing programming i knocked up while playing with the rnd command (im a noob):
q: quit
t: set line thickness
left mouse: draw
right mouse: clear screen

code:

SET DISPLAY MODE 1280, 1024, 16
thickness=0
while inkey$()<>\"q\"
fcolor= rgb(rnd(255), rnd(255), rnd(255))
ink fcolor, rgb(255,255,255)
if mouseclick()=1
for z= 0 to thickness
line mousex()+z,mousey()+z,prevx+z,prevy+z
next z
endif
if mouseclick()=2 then cls
if inkey$()=\"t\"
set cursor 0,0
input \"what thickness?(0-1279): \", thickness
endif
prevx=mousex()
prevy=mousey()
endwhile
daneshere
17
Years of Service
User Offline
Joined: 29th May 2006
Location:
Posted: 29th May 2006 17:31
here is a drawing programming i knocked up while playing with the rnd command (im a noob):
q: quit
t: set line thickness
left mouse: draw
right mouse: clear screen

Admin 7737
17
Years of Service
User Offline
Joined: 14th May 2006
Location: Japan... I WISH!!
Posted: 29th May 2006 18:57
yea I agree

-----------------------------------------------------------
Im in A race With 5 People And I'm in third, I over Take 2nd, In what position am I? (Email me for the Answer!)
StevieC
17
Years of Service
User Offline
Joined: 5th Jun 2006
Location:
Posted: 6th Jun 2006 12:54
I like it! It's really colourful! However it took me a while to work out that it had loaded........ perhaps a notification up top to say loaded, and a brief line of instructions???

Steve
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 7th Jun 2006 23:57
its quite cool to me

cool how it seems to be slightly transparent

I was Offset of Reality
tough guys wear pink --so thats why your mom always wears pink

Login to post a reply

Server time is: 2024-03-28 13:04:16
Your offset time is: 2024-03-28 13:04:16