I am trying to make a few different SVGs based on space-filling curves, e.g. Hilbert’s curve, and more specifically the Gosper Curve.
How do I go about programming this recursively?
I’m most comfortable using Python or Javascript.
Many thanks in advance.