Small detail in Bitframes—cells are filled by many horizontal & vertical hatch marks. I turn each of these marks into a 2D path to control the roundness of the end caps, rather than being stuck with the very circular arcs of Canvas2D lines.

Code below:
https://github.com/mattdesl/bitframes/blob/main/src/drawRoundedSegment.js
1 / 2
Post image
Post image

Comments