add a triangle with gradient