sodayoo / movy

movy.js is an easy-to-use animation engine based on three.js and gsap.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

movy.js is an easy-to-use animation engine based on three.js and gsap.

gallery

Getting Started

Assuming you have node.js installed on your computer, you can install movy.js simply by:

npm i -g movy

To run movy.js, enter the following command in your terminal:

movy

It will show a list of example animations in the examples folder.

examples

To create your own animation, you can start a new javascript file. Following is a simple hello-world program for movy.js.

import * as mo from "movy";

const t = mo
  .addText("movy.js is simple!", {
    scale: 1,
    color: "yellow",
  })
  .reveal();

mo.run();

Save the file as hello.js, then open the animation in the browser by

movy hello.js

About

movy.js is an easy-to-use animation engine based on three.js and gsap.

License:MIT License


Languages

Language:TypeScript 58.9%Language:JavaScript 40.0%Language:HTML 1.1%