@dotstdy it's been a long while since the last time I looked into these things, but if eukleides outputs metapost then it should be possible to adapt it for SVG because IIRC the more recent versions of MP actually support SVG output.(Actually, why even go through eukleides when one could use MetaPost directly.(