Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 603 Bytes

File metadata and controls

30 lines (21 loc) · 603 Bytes

TypeApple

Bad Apple, but as a Rust Type

How I made it

  1. I downloaded the video
  2. Turned it into a sequence of .ppm files using ffmpeg :
ffmpeg -i badapple.webm -s 24x18 -r 15 output_%04d.ppm
  1. Wrote a generator script using Rust, shocker
  2. Ran it
  3. Crashed the compiler because it was 4mb .rs file
  4. Optimized it by offloading it into different files, storing frames in buffers etc.
  5. Done

How you can run it

git clone https://github.com/evopot/typeapple.git
cd typeapple/main
cargo run

The output file will be around 3GB on a debug build

ok cool see you