Comment by qwerpy
1 hour ago
Nice. Thanks for the feedback. I'm currently having it churn out a refactor so I can use it for other games, but afterwards I will tell it to use base key shapes and clone them for the keys. If I were writing this by hand I may have made the same mistake, not knowing that SVG actually has clone capabilities like that. The script does have the key geometry defined in a single place, and generates the SVG wastefully.
No comments yet
Contribute on Hacker News ↗