{"id":2848,"date":"2022-06-28T17:30:47","date_gmt":"2022-06-28T17:30:47","guid":{"rendered":"https:\/\/blog.bwgamespot.com\/index.php\/2022\/06\/28\/some-baller-used-a-raspberry-pi-to-play-youtube-on-the-commodore-pet\/"},"modified":"2022-06-28T17:30:47","modified_gmt":"2022-06-28T17:30:47","slug":"some-baller-used-a-raspberry-pi-to-play-youtube-on-the-commodore-pet","status":"publish","type":"post","link":"https:\/\/blog.bwgamespot.com\/index.php\/2022\/06\/28\/some-baller-used-a-raspberry-pi-to-play-youtube-on-the-commodore-pet\/","title":{"rendered":"Some baller used a Raspberry Pi to play YouTube on the Commodore PET"},"content":{"rendered":"<div class=\"youtube-video\">\n<div class=\"video-aspect-box\"><\/div>\n<\/div>\n<p>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&#8217;s media. <a href=\"https:\/\/www.youtube.com\/user\/fulkonto1222\" target=\"_blank\" rel=\"noopener\">Thorbj\u00f6rn Jemander<\/a> has proven so, and the results are utterly stunning.<\/p>\n<p>This amazing modder used a Raspberry Pi Zero, with its built in Wi-Fi, to convert OpenCV images into &#8220;ready to use character screens that the Pet can display.&#8221; 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:<\/p>\n<p>First it scales and decolorizes the YouTube videoThe grayscale images are then replaced with a black and white dot patternAnd finally the dot pattern is mapped onto the PET character set<\/p>\n<div class=\"image-full-width-wrapper\">\n<div class=\"image-widthsetter\">\n<p class=\"vanilla-image-block\">\n<\/p><\/div>\n<\/div>\n<p><span class=\"credit\">(Image credit: Thorbj\u00f6rn Jemander)<\/span><\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>It took Thorbj\u00f6rn three good weeks to get all the issues fixed up, but as they say, &#8220;by the magic of filmmaking, it was done in the blink of an eye.&#8221;<\/p>\n<p>If you were the lucky purchaser of something like this <a href=\"https:\/\/www.pcgamer.com\/an-actual-working-commodore-65-prototype-is-being-auctioned-off-for-thousands-of-dollars\/\" target=\"_blank\" rel=\"noopener\">Commodore 65 prototype<\/a>, and have a hankering for uniting the ancient and the trendy, why not give it a go yourself?\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>[#item_image]Some baller used a Raspberry Pi to play YouTube on the Commodore PET<!-- wp:html --><\/p>\n<div class=\"youtube-video\">\n<div class=\"video-aspect-box\"><\/div>\n<\/div>\n<p>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&#8217;s media. <a href=\"https:\/\/www.youtube.com\/user\/fulkonto1222\" target=\"_blank\" rel=\"noopener\">Thorbj\u00f6rn Jemander<\/a> has proven so, and the results are utterly stunning.<\/p>\n<p>This amazing modder used a Raspberry Pi Zero, with its built in Wi-Fi, to convert OpenCV images into &#8220;ready to use character screens that the Pet can display.&#8221; 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:<\/p>\n<p>First it scales and decolorizes the YouTube videoThe grayscale images are then replaced with a black and white dot patternAnd finally the dot pattern is mapped onto the PET character set<\/p>\n<div class=\"image-full-width-wrapper\">\n<div class=\"image-widthsetter\">\n<p class=\"vanilla-image-block\">\n<\/div>\n<\/div>\n<p><span class=\"credit\">(Image credit: Thorbj\u00f6rn Jemander)<\/span><\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>It took Thorbj\u00f6rn three good weeks to get all the issues fixed up, but as they say, &#8220;by the magic of filmmaking, it was done in the blink of an eye.&#8221;<\/p>\n<p>If you were the lucky purchaser of something like this <a href=\"https:\/\/www.pcgamer.com\/an-actual-working-commodore-65-prototype-is-being-auctioned-off-for-thousands-of-dollars\/\" target=\"_blank\" rel=\"noopener\">Commodore 65 prototype<\/a>, and have a hankering for uniting the ancient and the trendy, why not give it a go yourself?\u00a0<\/p>\n<p><!-- \/wp:html --><\/p>\n","protected":false},"author":0,"featured_media":2849,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/posts\/2848"}],"collection":[{"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/comments?post=2848"}],"version-history":[{"count":0,"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/posts\/2848\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/media\/2849"}],"wp:attachment":[{"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/media?parent=2848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/categories?post=2848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bwgamespot.com\/index.php\/wp-json\/wp\/v2\/tags?post=2848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}