Use float instead of int for coordinates
Add line animation