Added etch-a-sketch generation logic.