Particle.news

Download on the App Store

Classic Doom Ported to Run Inside a PDF Document

A high school developer created DoomPDF, a playable version of the 1993 game using JavaScript embedded in a PDF file.

  • DoomPDF was developed by a high school student, Ading2210, who used JavaScript capabilities within the PDF format to create the port.
  • The game runs in Chromium-based browsers and achieves a six-color monochrome display with a frame rate of approximately 12.5 FPS.
  • Inputs for movement, weapons, and map controls are handled through text fields and buttons in the browser's PDF engine.
  • The developer compiled Doom's original C code using an older version of Emscripten targeting asm.js, overcoming limitations in modern browser PDF engines.
  • This project adds to the long history of unconventional Doom ports, showcasing the flexibility of the game's source code, which was released in 1997.
Hero image