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

Username:   Password: 
 RegisterRegister   
 Draw a circle
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
recneps




PostPosted: Sat Mar 27, 2004 11:01 am   Post subject: (No subject)

Well we havent even technically got into the equations of em, my friend is this math whiz and he gave me the equation Wink
Sponsor
Sponsor
Sponsor
sponsor
something




PostPosted: Wed Mar 31, 2004 9:12 pm   Post subject: (No subject)

wow...just...wow

I hate to do this but couldn't it be done simplier

something like:

code:
for a : 0..360
drawarc (50,50, 50,50,0,a, 7)
delay (5)
end for


Just wanted to feel smart

-Sammi
the_short1




PostPosted: Thu Apr 01, 2004 9:53 pm   Post subject: (No subject)

no wahts fun ny... i was just about to post that so i went into this thread and ,, there... u did it......... realy realy scary...

i made a cool ball rotation with filled arcs...
for by upcoming program.. i wanted the balls that are bouncing around to be half one color half another color... and have the colors rotating.....

and that is why i was about to post... scray.... brains are alike,.,.
zylum




PostPosted: Thu Apr 01, 2004 10:35 pm   Post subject: (No subject)

something wrote:
wow...just...wow

I hate to do this but couldn't it be done simplier

something like:

code:
for a : 0..360
drawarc (50,50, 50,50,0,a, 7)
delay (5)
end for


Just wanted to feel smart

-Sammi



an arc isn't the same thing as a parabola -_-


- zylum
recneps




PostPosted: Fri Apr 02, 2004 9:07 pm   Post subject: (No subject)

a parabola is a series of points, an arc is just a line Smile
like when you throw a ball up, it goes up fast, slows down, then drops. if you measure height at each second, you get a series of points on a parabola. You cant throw a ball in an arc that way. Like say you were drawing a circle, and you wanted it to go up and then down again, you would use parabola, because the x and y change so its smooth.
Yes, i know thats a really long explanation and could probably be left off after the first sentence. But ok Very Happy
zylum




PostPosted: Sat Apr 03, 2004 5:13 pm   Post subject: (No subject)

well both an arc and a parabola are a series of points Confused in fact, a line is just a series of points
recneps




PostPosted: Sat Apr 03, 2004 8:09 pm   Post subject: (No subject)

ok let me rephrase that. a parabola is drawn point by point throughout a loop. an arc is drawn once (at least with the drawarc command) Very Happy
apomb




PostPosted: Sun Apr 11, 2004 2:42 pm   Post subject: (No subject)

Hey, i know this thread is a little old, but i didn't want to make another thred, I made a parabola proggy too, its like a spinnint thing, check it out
code:
View.Set ("nooffscreenonly,graphics:max;max")
loop
    var a : int := 0
    var x, i : int := Rand.Int (32, 103)
    loop
        x := 25
        cls
        loop
            x -= 1
            Draw.FillOval (a * x + maxx div 2, - (x * x) + maxy - 4, 5, 5, i)
            exit when x = -25
        end loop
        delay (20)
        a += 1
        exit when a = 17
    end loop
    a := 17
    loop
        x := 25
        cls
        loop
            x -= 1
            Draw.FillOval (a * x + maxx div 2, - (x * x) + maxy - 4, 5, 5, i)
            exit when x = -25
        end loop
        delay (20)
        a -= 1
        exit when a = 0
    end loop
end loop
Sponsor
Sponsor
Sponsor
sponsor
recneps




PostPosted: Tue Apr 13, 2004 2:55 pm   Post subject: (No subject)

thats pretty sweet ;D Have some bitsss

(and whoever said "if you give bits, you receive bits". You're 100% right Wink Everyone GIVE BITS!)
apomb




PostPosted: Mon Apr 19, 2004 2:34 pm   Post subject: (No subject)

hey thanks man, i didn't see this post untill now! ya , i gave bits and now i'm recieving bits!! here is another quote like that " If you want something, you must give it away"
the_short1




PostPosted: Mon Apr 19, 2004 3:12 pm   Post subject: (No subject)

neat compswiz..... ill post some of my attemps at making cool sine curves here soon ok???

here have some bits.... (compwizz) cuz i made that parabola b4 i could (iu was thinking on making it ) Wink
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 2 of 2  [ 26 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: