Bad apple, but as a GitHub contributions graph.
Check it out LIVE 🔴!
Now with added audio support! 🎶
It reads the frame data from the video, using generate.py
to convert the frames into arrays of 0
or 1
.
After this, the script.js
reads these frames and colors the boxes accordingly.
Performance-wise, not perfect. Might rewrite this in the future, but I'm fairly happy with the results.
The code is a bit hacky since I wrote the code in 4 hours while drinking with a friend.
But hey, it works! 🎉
I vow to make the new code just as hacky and ugly as the one which lived before it.