GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mojs/mojs: The motion graphics toolbelt for the web

BranchesTags
Open more actions menu

Latest commit

 

History

1,975 Commits
1,975 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
dev
dev
 
 
spec
spec
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
karma.conf.js
karma.conf.js
 
 
logo.svg
logo.svg
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
webpack.common.js
webpack.common.js
 
 
webpack.dev.js
webpack.dev.js
 
 
webpack.umd.js
webpack.umd.js
 
 

Repository files navigation

mo · js – npm ci Coverage Status Slack

The motion graphics toolbelt for the web.

mo · js

Intro

mo · js is a javascript motion graphics library that is a fast, retina ready, modular and open source. In comparison to other libraries, it has a different syntax and code animation structure approach. The declarative API provides you a complete control over the animation, making it customizable with ease.

The library provides built-in components to start animating from scratch like html, shape, swirl, burst and stagger, but also bring you tools to help craft your animation in a most natural way. Using mojs on your site will enhance the user experience, enrich your content visually and create delightful animations precisely.

Install

Use with a bundler

Mojs is published on the NPM registry, so you can install it through the command line interpreter using your favorite package manager. This is the best way to install the library if you are comfortable with javascript bundlers like webpack or rollup.

# npm
npm install @mojs/core

# yarn
yarn add @mojs/core

Then import it like any other module inside your build:

import mojs from '@mojs/core';

new mojs.Html({
  // ...
});

Using a bundler has many advantages like output compression, code splitting, tree shaking, etc., so we encourage you to use this kind of tool with mojs.

Use with a CDN

To rapidly include the minified production file in your web page, load the latest build from your favorite CDN using a generic script markup:

<!-- unpkg -->
<script src="https://unpkg.com/@mojs/core"></script>

<!-- jsdelivr -->
<script src="https://cdn.jsdelivr.net/npm/@mojs/core"></script>

Then instanciate using:

<script>
  new mojs.Html({
    // ...
  });
</script>

By default, if no one is specified, the CDN will automatically target the @latest version of mojs and load the UMD build from dist/mo.umd.js.

User guide

The base documentation you need to get started with mojs.

  • Get started
  • @mojs/player
  • @mojs/curve-editor
  • @mojs/timeline-editor

Learn

Discover the amazing things that mojs can do!

  • Shape & Swirl (Tutorial)
  • Burst (Tutorial)
  • Icon animations powered by mo.js (Codrops tutorial)
  • An Introduction to mo.js (CSS tricks tutorial)
  • Playing with @mojs/player and @mojs/curve-editor (Vimeo video)
  • Web animations and mo.js (Youtube video)

Developer

Get technical informations, open an issue/pull request or join the (amazing) community!

  • API documentation
  • Github
  • Slack workspace (Not in the workspace yet? Use the invite link 🔓)

Showcase

  • Motion Graphics for the Web
  • Bubble Layout
  • Sleepy Mole
  • Animocons
  • Love or Hate Modal
  • Mograph
  • Word Reveal
  • Jump and Squash
  • Physical Balls
  • Dust Trail
  • Bubble Modal
  • Bubbles
  • Blast (click to see)
  • Simple Burst (click to see)
  • Dusty Burst (click to see)
  • Twitter Fav (click to see)
  • Twitter Fav (stars) (click to see)
  • Twitter Fav Firework (click to see)
  • Simple Ripple (click to see)

Browser support

  • Chrome 49+
  • Firefox 70+
  • Opera 36+
  • Safari 8+
  • Edge 79+

Many other browsers may work, but are not extensively tested.

Maintainers

Since 2019, mojs ecosystem is maintained and developed by:

  • Xavier Foucrier
  • Jonas Sandstedt

Contribute

If you want to report a bug or request a new feature/improvement, please read the project contributors guidelines before. Thanks for taking time to contribute.

About

The motion graphics toolbelt for the web

mojs.github.io

Topics

animationburstdesignes6graphicsjavascriptlibrarymo-jsmodernmojsmotionmotion-graphicsshapesvgswirltimelinetoolbeltwebwebpack

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

18.9k stars

Watchers

385 watching

Forks

902 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.