element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Artificial Intelligence and Machine Learning
  • Technologies
  • More
Artificial Intelligence and Machine Learning
Blog Commodore 64 Uses AI to Generate Retro Game Sprites
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Artificial Intelligence and Machine Learning requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 7 Jun 2024 7:09 PM Date Created
  • Views 1216 views
  • Likes 4 likes
  • Comments 0 comments
  • research
  • artificial intelligence
  • commodore 64
  • cabeatwell
  • generative ai
  • ai
  • art
Related
Recommended

Commodore 64 Uses AI to Generate Retro Game Sprites

Catwell
Catwell
7 Jun 2024

image

The Commodore 64 computer runs an AI image generator that produces retro game sprites. (Image Credit: nickbild/Github)

The Commodore 64 system, released in August 1982, may take some computer enthusiasts by surprise as it features some hardware capable of running an AI image generator. Nick Bild, a developer, created a Generative AI tool that runs on a Commodore 64 to produce 8x8 sprites expanded to a 64x64 image. Those retro sprites can help developers come up with new game designs. 

Despite the hardware’s age, users need to wait twenty minutes to generate an image through 94 iterations. Although more iterations take longer, it produces better images. And the tool doesn’t need to rely on something like OpenAI to get the job done. Nick adapted a probabilistic PCA algorithm, trained on a modern PC, to run on the Commodore 64.

He developed this model using a modified version of the Python code and created 100 retro sprites (binary strings) using a spreadsheet for help. The data then trained his AI model on a modern PC with modified scripts.  That generated parameter values, like covariance matrix, mean matrix, and more, which are only calculated once for a provided dataset. Afterward, they were fed into a simplified logic-developed script that runs the randomization and generative parts of the algorithm.

Thanks to that simplification, the logic can be converted into BASIC code --- compatible with Commodore 64. He then inputs this code into a C64 system, producing unique images “that fit into the distribution of the training data.” Lastly, the 8x8 images expand to 64x64 before being displayed on a screen. 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Have a story tip? Message me at: http://twitter.com/Cabe_Atwell

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube