showing effect of bezier curve