Boston Python workshop/Saturday/ColorWall: Difference between revisions

imported>Jesstess
imported>Jesstess
Line 124:
==Bonus exercises==
 
===Checkerboard===
<ul>
 
<li>
Find and change the colors used in the <code>Checkerboards</code> effect, and re-run the effect:
 
Line 145:
 
re-run the effect, and see what changed.
 
</li>
What other patterns can you create by tweaking the math for this effect?
<li>
 
=== Matrix ===
 
Find and change the color of the columns in the <code>Matrix</code> effect, and re-run the effect:
 
Line 154 ⟶ 157:
 
Each column that we see on the wall corresponds to a <code>Column</code> object. Add some randomness to the color used by each column (the variable whose value you changed above) using the <code>random.random</code> function, re-run the effect, and see what happens.
</li>
 
=== Write more of your own effects! ===
 
</li>
You have color, time, randomness, letters, and more at your disposal. Go nuts!
</ul>
 
==Some Useful Links==
Anonymous user