I was assigned a texture packer problem and as I researched more into the NP-hard problem, the more invested I was. As I built the algorithm, it was hard to visualize just what was happening at first. However, slowly but surely, I pieced together a way to visualize it in a way that looked both informative and captivating at the same time.
git clone https://github.com/PhilHuangSW/TexturePacker.git
cd TexturePacker
npm install
npm run dev
You can also visit https://serene-boyd-a278d4.netlify.app/ for the web version, hosted by Netlify.
There were many features I kept wanting to add, but here are the ones I settled on:
Website is created with:
If you have any suggestions on how I can improve the user experience or you just want to chat with me about 2d bin packing algorithms, email me at philip.sw.huang@gmail.com