Skip to content
PDFGame

Field notes.

How a document learns to run code, how to make one yourself, and how to turn the PDFs you already have into something you'll actually revise from.

Under the hood · 9 min

How PDF Games Work: JavaScript, Form Fields and a Lot of Nerve

A PDF can carry JavaScript, and form fields can be shown, hidden and rewritten by that script. Put the two together and you have a tiny, very strange game console.

Read the guide