Add triangle example from gfx examples