Triangles drawing function | ScratchStats