Started drawing the letters with rectangles instead of lines. It was quite challenging to make the joints look nice. The last stroke for “R” is a bit short now. I’ll improve it later.
The experimental codes has different drawing methods, like “drawBarGlyph”, “drawTriangleGlyph” etc. The new code uses “java.lang.reflect.*” package, which allows me to toggle between different methods by String. I wish I had used it in previous projects to avoid all the switch statements. Here’s an example on Stackoverflow. Using Reflection/Mirror is a very bad programming practice in general. But for Processing sketches, it’s perfect.