olls / graphics

A console based graphics engine for simple Unicode games and animations.
GNU General Public License v3.0
11 stars 4 forks source link

Small Terminal #22

Open olls opened 10 years ago

olls commented 10 years ago

It seems the some of the calculations might be off a bit for smaller numbers, when you run the clock in a 10 high terminal, the bottom pixel of the circle is missing, probably to do with the circle image generation.

geraintwhite commented 10 years ago

The circle width and height = 2 * radius + 1

olls commented 10 years ago

Is that what is used, or what it should be?

geraintwhite commented 10 years ago

That's what it is now

olls commented 10 years ago

We need to get rid of the +1

geraintwhite commented 10 years ago

It's because it's centred, meaning there is an extra pixel in the middle of the circle.