Skip to content

wyattzheng/motion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motion

motion 是一个快速制作演示动画的工具, 面向 Web 开发者

只需使用 JavaScriptHTML 就可以快速制作一段简短的动画来表达你的想法


这是一段演示的例子:

const anim = animation({ loop: true });

anim.action(0, () => {
    document.body.innerHTML = div("label");
});

anim.action([0, 4000], (x) => {
    text("label", "hello, world!".slice(0, x * 20));
})

anim.play();

playground

在练习操场中, 你可以在网页中快速制作动画并查看效果, 你的工作会自动保存到浏览器中:

https://playmotion.netlify.app/

About

motion is a fast animation demo creator for web developer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published