pi curve