Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 3d Ball - cool graphics
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rhomer




PostPosted: Mon May 31, 2004 7:54 pm   Post subject: 3d Ball - cool graphics

I was messing with the RGB.AddColor and I made this..I thought i shud share it:

code:

var clr : array 1 .. 100 of int

colorback (black)
cls

proc makesphere (colors : int)
    for c : 1 .. colors
        clr (c) := RGB.AddColor (c / colors, c / colors, c / colors)
        drawfilloval (maxx div 2, maxy div 2, colors - c, colors - c, clr (c))
    end for
end makesphere

makesphere (100)
Sponsor
Sponsor
Sponsor
sponsor
Hotaru




PostPosted: Sat Jun 05, 2004 5:10 pm   Post subject: (No subject)

~very cool effect~
~however one suggestion~it will looks so much better if you have delays to your program~
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: