tetrahedral patch with coffee script generator