Future: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
* Exercise: Produce a function/tool to extract the colors of a website (those listed in CSS, etc.) and produce a palette (both visual, and CSS/text) -- useful! | * Exercise: Produce a function/tool to extract the colors of a website (those listed in CSS, etc.) and produce a palette (both visual, and CSS/text) -- useful! | ||
* Assignment: select a piece of music that seems "algorithmic" in some way -- write a set of functions that "perform" / or recreate (or give instructions for performing) this piece of music (cf. Clapping Music, possible post-exercise to music lyric writing loops) | |||
== Adventures in Command Line == | == Adventures in Command Line == |
Revision as of 23:12, 22 October 2008
This page is a scratchpad for idea for future classes.
In 1.02 I drew a parse tree to show how expressions in Python get reduced to simple operations that work on just two things at a time.
- Exercise: Produce a function/tool to extract the colors of a website (those listed in CSS, etc.) and produce a palette (both visual, and CSS/text) -- useful!
- Assignment: select a piece of music that seems "algorithmic" in some way -- write a set of functions that "perform" / or recreate (or give instructions for performing) this piece of music (cf. Clapping Music, possible post-exercise to music lyric writing loops)
Adventures in Command Line
Eliza... tie in with Python callbacks...
Broad, recurrent themes:
- time & code
- callbacks
- feeds
- bridging (not from scratch)
Information Visualisation: ManyEyes
Making a slideshow tool with imagemagick / mplayer / python
Using the find command
find tmp/* -exec identify {} \;
A python feature we've never come to, officially, in the course, but super cool about python: List Comprehensions & Generator Expressions [1]
Mplayer in slave mode (controlling applications from Python)
http://www.crummy.com/software/BeautifulSoup/
["Fonts"]
Other
minisite for the course I am teaching for undergrads at the WdKA, I expect portions of this will become part of the MA course in future: