Curving borders