youngtao:
elementtemplateabc2dqo abcthetadqoinputnua,b,c,thetaoutputnud,q,o{numberpi=3.1415926d=(cos(theta)*a+cos(theta-2*pi/3)*b+cos(theta+2*pi/3)*c)*(2/3)q=(sin(theta)*a+sin(theta-2*pi/3)*b+sin(theta+2*pi/3)*c)*(-2/3)o= (a+b+c)*(1/3)}enjoy