Roger-random / ESP_8_BIT_composite

Color composite video code from ESP_8_BIT as an Arduino library
MIT License
125 stars 15 forks source link

fillCircle() at left or right edge of screen would overflow to opposite edge of screen. #8

Closed Roger-random closed 3 years ago

Roger-random commented 3 years ago

Bug in version 1.0.0 found by @emilyvelasco

Observed: When fillCircle() is near the right or left edge of screen and radius is larger than the distance to the edge, the extra parts of the circle would visibly overflow to the opposite edge of the screen.

Desired: Extra parts of the circle should be either clamped to the edge of the screen, or cropped entirely.