Anonymous user
Boston Python Workshop/Saturday/ColorWall: Difference between revisions
Boston Python Workshop/Saturday/ColorWall (view source)
Revision as of 17:24, 4 March 2011
, 13 years ago→Layout
imported>Jesstess No edit summary |
imported>Jesstess (→Layout) |
||
Line 12:
The ColorWall code consists of 3 files:
* <code>run.py</code>: take arguments from your environment (like a specified width and height for the wall), set up the wall and effects, and run
* <code>wall.py</code>: the logic behind the matrix of squares that make up the wall. This file has a comment block at the top that summarize the interface that you will use when programming your own effects.
* <code>effects.py</code>: where effects live. This is the main file that you'll be editing during the workshop.
|