temp conversion to rotating color cube from Interactive Computer Graphics