code: def project(p):
      # project using the same transformation that was used for the triangles
      a, b, c = p
      x = a / 2 + b
      y = SQRT3OVER2 * a
      return (x, y)
  
imports: from __future__ import division
  import matplotlib
  import matplotlib.pyplot
  import numpy
  import ternary
label_desc: Use image node_id 1 for calling a global function with example usage: project(p) and returns: x,  y