Held: Friday, 4 April 2003
Today we consider a number of ways to use algorithms to generate or
circles.scm, the code we wrote yesterday (with some variations).
art.scm, some useful code for today's lab.
(gsfu-create-image width height func)creates a new image of the specified width and height by applying
funcat every position.
functakes x and y as parameters and returns a color value (list of red, green, blue)
(gsfu-load-image filename)loads an image.
(gsfu-map-image image layer func)creates a new image by applying
funcat ever position.
funcshould be a function from color to color.
(gsfu-map-coordinates image layer func)creates a new image by applying
funcat every position. (Do you notice a trend here?)
functakes many too many parameters for me to mention here.
Thursday, 16 January 2003 [Samuel A. Rebelsky]
I usually create these pages
on the fly, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Tue May 6 09:30:08 2003.
The source to the document was last modified on Thu Jan 16 13:46:00 2003.
This document may be found at