draw vector and animate with time