LED Cube Editor
I decided that it was too hard to write animations for my LED Cube. So I wrote a Processing program to generate the code for it. All you have to do is load the program and click on the green LEDs(circles) to turn them on and when you are done with a frame of animation you click the orange button at the bottom then the code will be printed out to the console. Then you copy the code into the firmware and upload the program to the Arduino. Here is the program.
What a great IDEA!!!! I tried to download your program so I can use it but could not get it to work for some reason. I will continue to try to get it going. I think this is a very awsome idea though for both newbies like myself or even experianced people as well. Thank you very much!!!
Hey George. The program is inside the zip file inside “LED_Cube_Editor” folder then inside “application.windows”(If you use windows, but if you use Mac OS X it’s under “application.macosx” if you use linux then it’s “application.linux”) the program is called “LED_Cube_Editor.exe” If you run it you will not get any out put of code that it generates you have to install Processing http://processing.org/download/index.html and open the “LED_Cube_Editor.pde” source code file in the “LED_Cube_Editor” folder. Then run it by clicking on the “Play” button the code generate button is the big orange rectangle at the bottom. The code will be shown in the bottom of the Processing editor window. To copy the generated code just select it with your mouse and press Ctrl+C.
I hope this helps.
-Tim
Hi,
This is an awesome program! Could you possibly make it have the option to be compatable with a 4x4x4 LED cube?
Thanks!
Unfortunately I do not have time to add that feature, but the source code is posted at the end of the post in the zip file and your are welcome to add that feature. Please post a link here to your modified version to share with others. The source file is called “LED_Cube_Editor.pde” and you can go to http://www.processing.org to learn about how to program in Processing.
-Tim
hey Garrett did you ever make a 4×4 editor
Hi Tim! I have crashed my computer 3 times trying to run the pde in processing… Ubuntu 10.04 can’t do it? or is it me?? The processing window is working, but the LED programming sketch just restarts my comp.
Thanks for the help!
Jim
I haven’t tried processing on linux. I wouldn’t be much help here. Sorry.
Hi again, Tim!
I am running your program now on a windows machine, but I don’t understand how to get the code to run on my Arduino. I can copy the code, but I don’t understand how to get it compiled as an Arduino sketch. Can you give me detailed instructions here? I really like the idea, and you obviously know gobs about this… but a noob I is… tusen tack ! (swedish…)
jim
Hey Jim.
Basically the “Here is the program.” is the editor program that runs on your computer. You will need to download and install Processing. Go here to get it: http://processing.org/download/ Just click the link in the middle that says, “Windows” which will download the Processing ZIP file. Unzip that and go to the folder that you unzipped it into. Open the “processing.exe” program. Then click the “File” menu then “Open” and select the “LED_Cube_Editor.pde” file from the where you unzipped the “LED_Cube_Editor.zip” earlier and click “Open.” Click the Button on the toolbar that looks like an arrow which should start the editor. By the way, Processing is the programming language that the editor is written in.
I hope this helps you.
-Tim
Great project!!! i have been looking and looking and still cannot find the file LED_Cube_Editor.pde. will you please point me to it. thanks.
Pete
Just download this zip file and unzip it then follow the instructions in my last comment. http://www.atomicvpp.com/LED_Cube_Editor.zip
Dummy me!! i was looking at the wrong link. thanks alot. cool program.