custom_triangle library