sharmaeklavya2 / packing-game

2D geometric bin-packing game in the browser
https://sharmaeklavya2.github.io/packing-game/
8 stars 4 forks source link

Allow exporting to SVG/TikZ #15

Closed sharmaeklavya2 closed 3 years ago

sharmaeklavya2 commented 3 years ago

This would be useful for creating packing diagrams.

We should let the user choose whether to include the inventory or not, and which bins to include.

sharmaeklavya2 commented 3 years ago

The function downloadBinsToTikz outputs a TikZ file containing a tikzpicture for each bin.

sharmaeklavya2 commented 3 years ago

Exporting to SVG is now supported.