Description and Composition of Bio-Inspired Design Patterns: the Gradient Case