Jump to content

Boston Python Workshop/Saturday/ColorWall: Difference between revisions

imported>Jesstess
No edit summary
imported>Jesstess
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 itthem.
* <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.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.