bidirectional curves