Some baller used a Raspberry Pi to play YouTube on the Commodore PET

Who knew it was possible to play YouTube videos on a Commodore PET? The PET might be a 40 year old PC with not much modern-day grunt behind it, but it still has some use for consuming today's media. Thorbjörn Jemander has proven so, and the results are utterly stunning.

This amazing modder used a Raspberry Pi Zero, with its built in Wi-Fi, to convert OpenCV images into "ready to use character screens that the Pet can display." Essentially it ends up looking like some matrix dreamland simulacrum and its totally badass. And while the video goes into a lot of detail that might seem overwhelming, the basic steps the Raspberry Pi takes to create such a cool image are simple:

  • First it scales and decolorizes the YouTube video
  • The grayscale images are then replaced with a black and white dot pattern
  • And finally the dot pattern is mapped onto the PET character set

Thorbjörn holds a power cable over their creation.

(Image credit: Thorbjörn Jemander)

The process involves a lot of mathematics, including the use of the Temporal Floyd-Steinberg Dithering process. All that honestly goes straight over my head, but it looks like it paid off. The end result is even displayed at 30fps.

Some mistakes were made, as the modder admits, such as the placement of the LEDs, and a signal being connected to the wrong pin, but the biggest fumble was the orientation of the Pi connector being wrong by 180 degrees.

It took Thorbjörn three good weeks to get all the issues fixed up, but as they say, "by the magic of filmmaking, it was done in the blink of an eye."

If you were the lucky purchaser of something like this Commodore 65 prototype, and have a hankering for uniting the ancient and the trendy, why not give it a go yourself? 

Image


<a href="https://www.pcgamer.com/best-gaming-chairs/" data-link-merchant="pcgamer.com"" target="_blank">Best chair for gaming: the top gaming chairs around
<a href="https://www.pcgamer.com/best-gaming-desk/" data-link-merchant="pcgamer.com"" data-link-merchant="pcgamer.com"" target="_blank">Best gaming desk: the ultimate PC podiums
<a href="https://www.pcgamer.com/best-controller-for-pc-gaming/" data-link-merchant="pcgamer.com"" data-link-merchant="pcgamer.com"" data-link-merchant="pcgamer.com"" target="_blank">Best PC controller: sit back, relax, and get your game on

Katie Wickens
Hardware Writer

Screw sports, Katie would rather watch Intel, AMD and Nvidia go at it. Having been obsessed with computers and graphics for three long decades, she took Game Art and Design up to Masters level at uni, and has been demystifying tech and science—rather sarcastically—for three years since. She can be found admiring AI advancements, scrambling for scintillating Raspberry Pi projects, preaching cybersecurity awareness, sighing over semiconductors, and gawping at the latest GPU upgrades. She's been heading the PCG Steam Deck content hike, while waiting patiently for her chance to upload her consciousness into the cloud.