For creating animated grid layouts given an array of attributes.