A short video demonstrating simple animations in Racket and a simple refactoring to keep our code DRY. This is based directly on an example from Chapter 1 of the 2nd edition of How to Design Programs. This was created for the CSci 1301 (Problem Solving and Algorithm Development) at the University of Minnesota, Morris.
My home page: http://www.morris.umn.edu/~mcphee
UMM Computer Science: http://www.morris.umn.edu/academics/computerscience/
UMM: http://www.morris.umn.edu
2nd Edition of How to Design Programs: http://www.ccs.neu.edu/home/matthias/HtDP2e/
Racket: http://racket-lang.org/
DRY (Don't Repeat Yourself) Principle at Wikipedia: http://en.wikipedia.org/wiki/Don't_repeat_yourself
Refactoring at Wikipedia: http://en.wikipedia.org/wiki/Code_refactoring