Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arcs
#1
Code:
screen 13
const pi=3.14159
dim radians as double
do
    for angle=0 to 360
        radians=(pi/180)*angle
        circle (160,100),50,2,radians,radians+(pi/180)*90
        sleep 1
        circle (160,100),50,0,radians,radians+(pi/180)*90
        if inkey$<>"" then end
    next
loop
Why do the few pixels at the bottom of the circle-path not appear, and how can I fix it?
[EDIT] It doen't occur in 800x600 mode.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#2
sorry dude i cant sulve your problem!
but i do know that if you try it in screen 14 it works
t is better to error on the side of caution
than the side of haste!!!
[Image: title3.jpg]
Reply
#3
Yeah higher resolutions are fine with it. It seems to happen when radians is near or at 3pi/2 (270 degrees). I guess it's something with FB's math functions?
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#4
screen 14 is the same as 13 res wize
t is better to error on the side of caution
than the side of haste!!!
[Image: title3.jpg]
Reply
#5
well, horizontal res anywho... vertical: screen 14 = 240, screen 13 = 200 ;]
Reply
#6
true! true! but its not a real dif!
t is better to error on the side of caution
than the side of haste!!!
[Image: title3.jpg]
Reply
#7
Quote:Yeah higher resolutions are fine with it. It seems to happen when radians is near or at 3pi/2 (270 degrees). I guess it's something with FB's math functions?
You should probably post this on freebasic.net forums. You may also want to check and see if it's a known issue first.
stylin:
Reply
#8
Quote:true! true! but its not a real dif!
It sure as hell is. 40 pixels is signifigant - if the equation resolves to .49 at 200 pixels, 240 just might resolove to .6, which would round to 1 and register.
[Edit] Where do I find a list of known issues?
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#9
http://sourceforge.net/tracker/?group_id...tid=693196
Antoni
Reply
#10
Yeah, I talked with counting_pine on the FB forums. Yay, I discovered a bug!
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)