This demo has a drawing on one side and its code on the other. It works best on a wider screen (tablet, laptop, or desktop).

The box is a 0–100 grid. y increases downward, so 50 6 sits near the top.

The d attribute (the pen’s path). Tap a command to jump to it: