!!Con 2020 - Playing Breakout… inside a PDF!! by Omar Rizwan

!!Con0 HN recommenders · 2021–2024
4K views · talk · evergreen · Uploaded 2020-05-28

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.

Cited as the fun, surprising example of how much a PDF can do, and the talk behind the Horrifying PDF Experiments repo.

Watch on YouTube

3 comments from Hacker News

@vanderZwan2021 · in “Firefox 88.0”

> 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] [VIDEO]

@jeroenhd2023 · in “TinyVG – an alternative binary encoded vector graphics format”

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: [VIDEO]

@mdaniel2024 · in “Horrifying PDF Experiments”

the repo's < [LINK] > readme points to the talk given on this: [VIDEO] the 2021 submission of the repo got some lively commentary [LINK]