Saturday, November 26, 2022

World No 1 Tech News Website

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

Who knew that you could play YouTube videos on a Commodore PET! Although the PET may be a 40-year old computer with very little modern-day grunt, it still has some potential for consuming media today.

Must read

fatima khan
fatima khan
A brand new writer in the fields, Fatima has been taken under my electric spark's RGB- rich and ensures she doesn't engage in excessive snark on the website. It's unclear what command and Conquer are; however, she can talk for hours about the odd rhythm games, hardware, product reviews, and MMOs that were popular in the 2000s. Fatima has been creating various announcements, previews, and other content while here, but particularly enjoys writing regarding Products' latest news in the market she's currently addicted to. She is likely talking to an additional blogger with her current obsession right now.

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
(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?

More articles


Please enter your comment!
Please enter your name here

Latest article