Skip to main content

Animations

At the current moment animation support is in alpha stage. Please report about any issues you have.

By default, Polotno default UI is designed for static images. But you can enable animation support.

How to enabled animations support?

Use this:

import { unstable_setAnimationsEnabled } from 'polotno/config';

unstable_setAnimationsEnabled(true);

When you enable animations, polotno will add additional UI in the toolbar to change animation properties of the selected object.

You can preview animations and export animated scene as a GIF on a client side.

store.play();
store.stop();
store.saveAsGIF();

Open Demo