bezier code documented