Wednesday, February 9, 2022

🪲 Fix to issue: CIRCLE color fill

 The latest version of BASIC Anywhere Machine fixes an issue that exists in wwwBASIC.

CIRCLE (column%, row%), radius%, drawColor%, startRadian!, stopRadian!, aspect!,aspect!,F

The "F" parameter in the CIRCLE statement triggers color fill for a circle.

For example:

screen 21

circle(1,1),325, &hffff00, , , ,F

In wwwBASIC, color-filling a circle with radius greater than 113 (screen modes 11,12,14-21) causes the entire screen to get painted.  The color spills out of the circle via a very small gap between the pixels in the circle's border.

The CIRCLE statement in BASIC Anywhere Machine is fixed such that circles with radius greater than 113 will be filled with color without the color spilling out into the rest of the screen. 

No comments:

Post a Comment

📚 Simulating OOP Methods in BAM Using GOSUB

BASIC Anywhere Machine's GOSUB implementation allows using numeric expressions for dynamic line numbers or using string expressions for ...