Omar Rizwan's short !!Con talk about writing a Breakout game in JavaScript that runs inside a PDF. It explores the surprisingly large PDF specification, including its scripting support.
Why Hacker News points people here: Cited as the fun, surprising example of how much a PDF can do, and the talk behind the Horrifying PDF Experiments repo.
“the repo's < > readme points to the talk given on this”HN comment, 2024
Playing Breakout inside a PDF via Chrome's JavaScript subset.
Full comment
Support will vary by viewer, but Chrome's built-in PDF viewer supports a subset of Javascript. It's enough to play Breakout inside a PDF: this video
Cites itmdanielJun 2024
“the repo's < > readme points to the talk given on this”
Talk accompanying the repo.
Full comment
the repo's < link > readme points to the talk given on this: this video the 2021 submission of the repo got some lively commentary link
JokevanderZwanApr 2021
“I still can't play breakout in a PDF in Firefox though”
Full comment
> PDF forms now support JavaScript embedded in PDF files. Some PDF forms use JavaScript for validation and other interactive features. As far as I can tell I still can't play breakout in a PDF in Firefox though (and I think that's for the better) [0] link [1] this video