drawing curves for openjib