Skip to content

A processing sketch to visualize a dodecahedron model made from PCBs and export points

Notifications You must be signed in to change notification settings

somebox/dodeca-rgb-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DodecaRGB Simulator

Screenshot 2023-08-30 at 17 14 24

DodecaRGB is an interactive light gadget assembled from 12 PCBs with addressable LEDs. Once put together, the model can be programmed to do animations or other things. The prototype was developed for CCC Camp 2023 in Germany, and some early kits were sold.

photo of dodecahedron LED model

A dodecahedron is a 3d shape with 12 sides, each side is a pentagon made up of 5 equal edges. The top and bottom of the pentagon are parallel.

All of the LEDs are connected in a continuous strand, and each PCB has inputs and outputs on each side (labeled A-E), which need to be connected together in a specific order. This sketch helped in figuring out how to best do that and work out the math involved.

This Processing sketch renders the DodecaRGB model in 3D, with the layout of LEDs and sides numbered. There is a menu displayed and a few options to change the view mode and write the data file (if not present).

This sketch can output the points with calculated X,Y,Z coordiates for all 312 LEDs (26 per side), both as a JSON file and a C++ header file containing an array. This is useful for programming the firmware and developing your own animations.

Requires Processing v4.3 or later

References:

DodecaRGB-toss

About

A processing sketch to visualize a dodecahedron model made from PCBs and export points

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published