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 / Gradient drawing

Author
Message
Dodic
18
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 16th Feb 2006 20:51
This is not an actuall program , it only draws one gradient on the screen using lines , but it looks kind of nice , so i thouth to post it anyways :



Dodic
18
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 16th Feb 2006 22:07
And here is another small one , so it doesnt deserves a new thread , it is a "triangle poligonal drawer" , what it does , it makes 3 2d"vertices" (points) at random positions , and draw lines , so that they are connected.

Enjoy in all sorts of triangle poligonal shapes..

Quote: "sync on
sync rate 3
for times=0 to 55
cls
vertice1posx=rnd(640)
vertice1posy=rnd(480)
vertice2posx=rnd(640)
vertice2posy=rnd(480)
vertice3posx=rnd(640)
vertice3posy=rnd(480)
dot vertice1posx,vertice1posy
dot vertice2posx,vertice2posy
dot vertice3posx,vertice3posy
line vertice1posx,vertice1posy,vertice2posx,vertice2posy
line vertice2posx,vertice2posy,vertice3posx,vertice3posy
line vertice3posx,vertice3posy,vertice1posx,vertice1posy
sync
next times"


Drew the G
User Banned
Posted: 17th Feb 2006 03:02
nice

Dodic
18
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 17th Feb 2006 10:59 Edited at: 17th Feb 2006 13:10
And here`s one version with more "vertices"



gives all sorts of shapes...


I would like to make it draw interesting shapes , but the problem is , if i add to much or MORE THEN 3 "vertices" , lines will intersect and it wouldnt look to nice with lets say 10 of them..
Offcourse , i`m working on a way to make it dont intersect , but not sure if i`ll be able to.


EDIT: I finally made it , now it looks like real 3d shapes !


And also a fun simple code here.. :



Uncle Sam
18
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 21st Apr 2006 10:23
Hey Dodic, that's pretty neat!

Uncle Sam
Nvidia Geforce 7600 GS 256MB PCIEx, 2.66 GHZ Pentium 4 proccessor, 768MB RAM
Want a real FPS? Click here!
MartinS
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location: Rochester, NY
Posted: 25th Apr 2006 21:20
Nice, Dodic!

Login to post a reply

Server time is: 2024-04-25 18:30:09
Your offset time is: 2024-04-25 18:30:09