---
title: "Motion generate animated icon"
description: "Motion generate animated icon (AI · Creation). A ball runs a path drawn 15% ahead of it; opaque in-betweens appear once the ball has cleared them. Strong pulls back first, overshoots the exit tangent by 0.8, then settles."
canonical: https://generativeicons.com/icons/motion-generate/
---

# Motion generate animated icon

A ball runs a path drawn 15% ahead of it; opaque in-betweens appear once the ball has cleared them. Strong pulls back first, overshoots the exit tangent by 0.8, then settles.

- Id: `motion-generate`
- Category: AI · Creation
- Search terms: tweening, tween, in-betweens, inbetweening, auto animate, ai animator, trajectory, movement, generate movement, moving object
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/motion-generate.lottie (dotLottie, 9412 bytes, sha256 8297fbc51cd8e617765a9e37ea10e27ede5fe41d21fb85080f868cccac65ed23)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add motion-generate
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/motion-generate.mjs';

export function MotionGenerateIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/motion-generate.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/motion-generate/ · https://generativeicons.com/api/icons/motion-generate
