chiark / gitweb /
Enlarge radius of box drawings arcs
authorBen Harris <bjh21@bjh21.me.uk>
Mon, 22 Sep 2025 21:11:17 +0000 (22:11 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Mon, 22 Sep 2025 21:24:09 +0000 (22:24 +0100)
commitc53957312f386c3f77e282ffa2fb87b7010b6caf
tree47c669746a27f6ee6b007b463904f718105c75e5
parent4ca8a84daaab3e080cc8d7e929f724346c97ef8a
Enlarge radius of box drawings arcs

Before, the diagonal parts were the same as in the capital O.  But that
was already a bit square, and the shapes one would draw with the box
drawing characters will generally be bigger.  So now I've cut a bit more
off the corners.  This means that arcs that join to the right need the
recent change to add JOIN_R in order to join up properly.

With this change, if you try to draw a circle with them, you get an
octagon with side lengths 2, 2.8, 6 instead of 4, 1.4, 8, which I think
is an improvement.
bedstead.c