PythonAsia 2026

PythonAsia 2026

Creating Presentation Slides with the Retro Game Engine Pyxel
2026-03-22 , Pardo Hall (Secondary Hall)

Pyxel is a retro game engine developed by kitao-san, which is attractive because of its ability to create NES-like retro games in Python, its simple and intuitive API, and its expressive power limited to 16 colors and 4 sounds. On top of this strong Pyxel limitation, we created a presence-slide viewer that requires expressive power. We also incorporated an interesting mechanism using WebSocket communication. In this talk, I will show how we implemented the technology from loading Markdown to displaying slides, with a demonstration.


Combining existing libraries to achieve a goal within constraints is an everyday endeavor in modern programming.
In this talk, I will give you tips on how to deal with such efforts and details on how we specifically combined each library to create the presentation slides.

Agenda

  • Introduction to Pyxel, a retro game engine (3min)
  • Demonstration of Pyxel presentation in action (2min)
  • Tokenize in markdown-it and output in visitor pattern (2min)
  • Rendering in Pyxel, character display in BDF font (2min)
  • Code highlighting in Pygments (2min)
  • Browser behavior with Pyodide + micropip (4min)
  • Multi-person operation via WebSocket communication (5min)

Pyxel: https://github.com/kitao/pyxel


Category: Fun Audience Level: Beginner
See also:

He is a Accounting director of PyCon JP Association, a member of BeProud Corporation.
He started using Python in 2003. In his work, he has been involved in the development of company services as a software engineer, working on a wide range of projects from top to bottom. As an individual, he organizes Python-related events such as Python mini Hack-a-thon and Sphinx-users.jp in Japan, and disseminates technical information through conferences, books, and OSS development. He has written and translated several books, including "Expert Python Programming 4th Edition (2023)", "The Self-taught Computer Scientist (2022)", "Let's Start Sphinx, 3rd Edition (2022)", "Self-Driving Programmer (2020)", "The Self-Taught Programmer (2018)".