canvas curved lines changes