08-31-2024, 12:48 AM
Interesting, it takes aproximately 60 secs longer when QB64pe is idling in background than when the exe straight out of navigator and turning navigator off. 60 secs
meanwhile the difference between PeteFC3 mod and Gold standard is less that a sec! of aprox 667 secs each.
meanwhile the difference between PeteFC3 mod and Gold standard is less that a sec! of aprox 667 secs each.
Code: (Select All)
Sub PeteFC3 (cx, cy, r, clr~&)
Line (cx - r, cy)-(cx + r, cy), clr~&, BF
r2 = r * r ' Dav mod
Do Until y = r ' Since we are working with integers, would this be an alternative?
y = y + 1
x = Sqr(r2 - y * y) ' r2 Dav
Line (cx - x, cy + y)-(cx + x, cy + y), clr~&, BF
Line (cx - x, cy - y)-(cx + x, cy - y), clr~&, BF
Loop
End Sub
b = b + ...