add sprite generation (refs #1)