For the template patterns, I have used This Excel spreadsheet to prototype each pattern to generate the code. Although it isn't completely automated, it saves quite a few steps in generating a workable pattern. The basic flow goes like this:
- Starting with a pattern that has about the number of steps that you want to have in your pattern, make a copy of the tab that corresponds to that pattern. The fountain pattern happens to be one of the longer ones, so it is generally a safe bet.
- Click in the top half of the window and scroll all the way to the top cell. (Press Home then Ctrl-Home is the fastest way).
- Page down to the first step. Note that the window size should be already set so that each page down takes you to the next step. This is critical to making it easy to visualize how the pattern will operate.
- Each LED is represented by a colored circle which indicates what the LED should do for this step of the pattern. I've even included a nice legend next to the tree on each step. For example a circle with a dot in it indicates that the LED starts out ON at the beginning of the cycle and fades to OFF. To change what you want the LED to do, simply copy the correct symbol and paste it into the corresponding cell.
- Once you are happy with the new pattern (scroll up/down to watch it in action), scroll back to the top of the page and set the information for the number of Cycles and the name of the pattern. This causes it to generate the right code in columns AL and AM
- Scroll right to column AL and copy the entire column and paste it into the Table of the code.
- Select column AM and paste it into the corresponding spot in the Toggle table.
- Ignore the stuff to the right of Column AL, it is used for generating the Animated GIFs that you see on this web site.
- Note that you also have to create an entry in the Scheme table for the new pattern, fortunately this is documented well on Pages 2-3 of the Flowchart.
- If you get something that you like, tell us!