3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.


Yet Another Daft Punk Coffee Table (5x5 LED Matrix)

Step 6Animation Design

Animation Design
The animations are stored in frames.h.

   #define FRAMECNT 117

specifies how many frames are contained in your animation.
A frame is just a full screen of data.  The default animation that I put in it contains 117 frames.

You can specify frames by just typing them in one by one.   For instance, a capital 'Z' could look like:

{ B00011111,
  B00000010,
  B00000100,
  B00001000,
  B00011111}

The bottom 5 bits of each byte correspond to the pixels of each row.  Any bit which is set to 1 is lit, and 0 is off.  The top 3 bits are ignored.  This manual process can get rather cumbersome if you want to make complex animations

Ian was kind enough to share the code for his Internet Graffiti Wall . (Thanks, Ian!) I hacked it up to generate code for frames.h.  To create your own animations, simply load daftpunkanimationbuilder.html into any java-enabled web browser.  Follow the instructions on the screen to create your own animation.  When you're satisfied with it, click the Generate button, and copy the code from the text box, and paste it into frames.h, replacing its entire contents.

If you want to save your animation for editing later, check native fmt before clicking Generate, and then copy and paste the contents of the text box into a text file.  You can later load your saved animation back into the animation builder by pasting it into the Restore from sequence code text box, and then clicking Add before current frame.

Please send me any cool animations which you are particularly proud of, and I'll add them to this Instructable for others to download.
« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
32
Followers
2
Author:lincomatic(Lincomatic's Blog)
For more information on my projects as they develop, visit my blog: http://blog.lincomatic.com