:lipstick: cubic bezier curve porting