Design of diamond-shaped patterns