write a python script that visualizes bezier curves