function go (){let animation = anime({
// Цели
targets: '.sq1',
// Свойства
translateX: 100,
borderRadius: 50,
// Параметры свойств
duration: 2000,
easing: 'linear',
// Параметры анимации
direction: 'alternate'
});
let animation2 = anime({
targets: '.sq2',
translateX: 100,
borderRadius: 50,
duration: 4000,
easing: 'linear',
direction: 'alternate'
});
let animation3 = anime({
targets: '.sq3',
translateX: 100,
borderRadius: 50,
duration: 6000,
easing: 'linear',
direction: 'alternate'
});
};
go();