using JPanel instead of Canvas
next gen implementation
fixed rendering splines