![]() |
PSET Circle! - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html) +--- Forum: Challenges (http://qbasicnews.com/newforum/forum-10.html) +--- Thread: PSET Circle! (/thread-6492.html) |
PSET Circle! - Rattrapmax6 - 08-30-2005 :lol: I ment to tell ya,.. that was more of a PSET Sphere... :rotfl: ... but its round, so, who cares... :lol: Funny how this lil challenge is still going..... :roll: :lol: PSET Circle! - Deleter - 08-30-2005 Quote:Funny how this lil challenge is still going..... :roll: :lol:you never declared a winner, made a voting post of any kind, nor did you seta date. so of course its still going. ![]() PSET Circle! - Dr_Davenstein - 08-30-2005 Quote:i made something like that. and it took alot more lines of code to do it. (about 900% more. and i was so proud of myself. hmm...) Did you get the joke though? :lol: PSET Circle! - Rattrapmax6 - 08-30-2005 Quote:Rattrapmax6 Wrote:Funny how this lil challenge is still going..... :roll: :lol:you never declared a winner, made a voting post of any kind, nor did you seta date. so of course its still going. Evil plan... but it works well don't it? Muhahahahaha!!! :rotfl: PSET Circle! - dumbledore - 08-30-2005 ok, here's one i wrote meself: [syntax="qbasic"]For i = -1 To 639 * 399 If i = -1 Then Screen 13 Else Pset( i Mod 639, i \ 639 ), -( Int( Sqr( ( 160 - ( i Mod 639 ) ) ^ 2 + ( 100 - ( i \ 639 ) ) ^ 2 ) ) = 50 ) * 15 Next[/syntax] and in fb [syntax="freebasic"]For i = -1 To 639 * 399 If i = -1 Then Screen 13 Else If Pset( i Mod 639, i \ 639 ), -( Int( Sqr( ( 160 - ( i Mod 639 ) ) ^ 2 + ( 100 - ( i \ 639 ) ) ^ 2 ) ) = 50 ) * 15 Else Sleep Next[/syntax] PSET Circle! - Rattrapmax6 - 08-30-2005 You could have made the FB one 3 lines also.. :lol: Code: For i = -1 To 639 * 399 ![]() PSET Circle! - dumbledore - 08-31-2005 thx :lol: PSET Circle! - axipher - 12-13-2005 I know I am digging up this old topic, but I need you PSET Circle making Guru's help, can you make a working circle drawer that you can set limits in like drawing a circle at points (1,1) to (16,16), and the circle not be drawn outside that area??? PSET Circle! - Deleter - 12-13-2005 well, you can find the radius within that and then use a normal circle command. radius in that would equal half the shorter side of your confining box, obviously placed in the middle. PSET Circle! - Nemesis - 12-13-2005 Heh, I remember this topic from a few months back, it was kinda cool so I mucked around with the original posters code and came up with this... Code: '$DYNAMIC Ummm.... sorry this wasn't the real cool one I did (can't find it ![]() but, this one still produces some nice patterns. (I think they repeat after 255 but, it will run a long time.) Cya, Nemesis |