did this in the middle of a class renders real-time for real-time bezier change but you can optimize by having the bezier points pre-calculated
someone add line clipping arrow keys to look around WASDQE and arrow keys to move