save frames, color by occurrence