
pi = 3.141592654

define rhombus {
  A: (0,0)
  B: ($1,0)
  C: ($1 * (1+cos($2)), $1 * sin($2))
  D: ($1 * (cos($2)), $1 * sin($2))
  line from A to B to C to D to A
}
