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

πŸ–₯ Fan Dance

This is a port and mod of a SpecBAS program by ZXDunny. Run the program View the source code And, a "less is more?" version: Run t...