Any chance r2 = 0? SQR does not do negative numbers.
Try adding an exit sub if radius = 0 ?
Works fine for me in Windows. QB64pe v13.1
Try adding an exit sub if radius = 0 ?
Works fine for me in Windows. QB64pe v13.1
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever

