I’m trying to recreate the Gosper curve as described in the Algorithmic Beauty of Plants (pictured below) and I’m having trouble following the touchdesigners method for using edge rewriting. (https://docs.derivative.ca/index.php?title=LSystem_SOP#Edge_Rewriting)
I’ve attatched a .toe file with my attempt and the first generation works fine. But as the generations increase something goes wrong and I have no idea what as I’ve checked and rechecked my code several times and everything seems to be right according the the sources I’ve used but its still not working.
If anyone could help I’d really appreciate it as I’m losing my mind
GosperCurve.3.toe (3.7 KB)