Models for design.From geometries to generative algorithms