CSC151 2007S, Class 34: Getting Started with Script-Fu Admin: * Are there questions on the second exam? * When I do problem 4 (printing lists), I'm worried about what do with lists that have lists as elements. It seems like I have to check whether the car is a list, and then, if it is, recurse on the car, and then on the cdr and it seems complicated. * When you're tempted to recurse on the car, use the patterns of DEEP RECURSION * And you are correct that you should recurse on the car * When I do problem 4, I get these weird void things all over the place. Why? * Some procedures return no values, and when you try to display it, you get void. (An if with only a consequent and no alternate may also return void.) * When you get this kind of crap (cool, random, but amazingly perplexing), talk to Sam * BRING MORE QUESTIONS TOMORROW! Overview: * About Script-Fu. * Lab. * Reflection. /About Script-Fu/ * Yesterday: Explored the GIMP * Basically like Photoshop except Open Source * Includes the amazingly useful bird painting tool * But weird user interface which can be frustrating! * And not much help * Photoshop is a program for painting and editing images * In addition to using it manually, you can also write programs to draw for you. /Lab!/ * To fill, use (fill-fgcolor IMAGE) or (fill-bgcolor IMAGE) /Reflection (TOMORROW)/ * What was your favorite part of today's lab? * What was your least favorite part of today's lab? * What advantages, if any, are there from being able to write Script-Fu commands for GIMP? * What else would you like to learn about Script-Fu? * I won't necessarily follow your guidance, but I might. * What other commands would you like?