ai-led-matrix-art

Let GPT-4 and GPT-4 with Vision write code for a Pixelblaze-controlled LED matrix, evolving over time towards a user-defined theme.

MIT License

Stars
5

AI for Pixelblaze IDE

Let GPT-4 and GPT-4 with Vision write code for a Pixelblaze-controlled LED matrix, evolving over time towards a user-defined theme.

https://github.com/antonok-edm/ai-led-matrix-art/assets/22821309/367ee2c6-78cc-4098-9fd4-1398eeae66f6

How to use

  • Modify the first two variable values in index.js:
    • OPENAI_SECRET_KEY is your OpenAI API key
    • userGoal describes a theme that you want the art to visually evolve towards
  • Connect to your Pixelblaze's web IDE
  • Configure the appropriate controller type, speed, and size
  • Enter the Edit tab to begin drafting a new pattern
  • Paste the code from index.js into the devtools console
  • Wait for OpenAI servers
  • Enjoy the light show!

Origin story

This project won 2nd place at the Hacktopia hackathon hosted by Helicone and PostHog.

Contributors @ninjaa and @antonk-edm