Bad Apple, but as a Rust Type
- I downloaded the video
- Turned it into a sequence of
.ppmfiles using ffmpeg :
ffmpeg -i badapple.webm -s 24x18 -r 15 output_%04d.ppm- Wrote a generator script using Rust, shocker
- Ran it
- Crashed the compiler because it was 4mb
.rsfile - Optimized it by offloading it into different files, storing frames in buffers etc.
- Done
git clone https://github.com/evopot/typeapple.git
cd typeapple/main
cargo runThe output file will be around 3GB on a debug build
ok cool see you