Support Ukraine

Rotate Animation

Rotate animation in Velo

import { timeline } from 'wix-animations';

$w.onReady(function () {
  const $image = $w('#image1');

  timeline({ repeat: -1 }).add($image, {
    duration: 2000,
    rotate: 360,
    rotateDirection: 'cw',
    easing: 'easeLinear'
  }).play();
});
Live Demo