All Projects → abhiprojectz → Motionia

abhiprojectz / Motionia

Licence: mit
Motionia is a lightweight simplified on demand animation library!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Motionia

Align
A general purpose application and library for aligning text.
Stars: ✭ 63 (-78.57%)
Mutual labels:  library, tool
Phplrt
PHP Language Recognition Tool
Stars: ✭ 127 (-56.8%)
Mutual labels:  library, tool
Andes
Python toolbox / library for power system transient dynamics simulation with symbolic modeling and numerical analysis 🔥
Stars: ✭ 68 (-76.87%)
Mutual labels:  library, tool
Xspear
Powerfull XSS Scanning and Parameter analysis tool&gem
Stars: ✭ 583 (+98.3%)
Mutual labels:  library, tool
Php Validate
Lightweight and feature-rich PHP validation and filtering library. Support scene grouping, pre-filtering, array checking, custom validators, custom messages. 轻量且功能丰富的PHP验证、过滤库。支持场景分组,前置过滤,数组检查,自定义验证器,自定义消息。
Stars: ✭ 225 (-23.47%)
Mutual labels:  library, tool
Lambdacd
a library to define a continuous delivery pipeline in code
Stars: ✭ 655 (+122.79%)
Mutual labels:  library, tool
Rando Php
RandoPhp is a open source library that implements random generators (Integer, Char, Byte, Sequences, Boolean) and take random sample from arrays
Stars: ✭ 107 (-63.61%)
Mutual labels:  library, generator
Gerador Validador Cpf
Biblioteca JS open-source para gerar e validar CPF.
Stars: ✭ 312 (+6.12%)
Mutual labels:  library, generator
Sdk
Library for using Grafana' structures in Go programs and client for Grafana REST API.
Stars: ✭ 193 (-34.35%)
Mutual labels:  library, generator
Android Rocket Launcher
🚀 Launch android modules from the terminal
Stars: ✭ 161 (-45.24%)
Mutual labels:  library, tool
Ferret
Declarative web scraping
Stars: ✭ 4,837 (+1545.24%)
Mutual labels:  library, tool
Chroma
A general purpose syntax highlighter in pure Go
Stars: ✭ 3,013 (+924.83%)
Mutual labels:  library, tool
Swaggen
OpenAPI/Swagger 3.0 Parser and Swift code generator
Stars: ✭ 385 (+30.95%)
Mutual labels:  library, generator
Depressurizer
A Steam library categorizing tool.
Stars: ✭ 1,008 (+242.86%)
Mutual labels:  library, tool
Box Shadows.css
♓️ A cross-browser collection of CSS box-shadows
Stars: ✭ 335 (+13.95%)
Mutual labels:  library, generator
Angular Librarian
An Angular 2+ scaffolding setup for creating libraries
Stars: ✭ 92 (-68.71%)
Mutual labels:  library, generator
Dashed Border Generator
Custom Dashed Border | Online CSS Generator 🚀
Stars: ✭ 79 (-73.13%)
Mutual labels:  tool, generator
Genesis
Templating, scaffolding and generation tool
Stars: ✭ 122 (-58.5%)
Mutual labels:  tool, generator
Dublin Traceroute
Dublin Traceroute is a NAT-aware multipath tracerouting tool
Stars: ✭ 159 (-45.92%)
Mutual labels:  library, tool
Behaviortree.js
An JavaScript implementation of Behavior Trees.
Stars: ✭ 228 (-22.45%)
Mutual labels:  library, tool

Alt Text

The Ultimate & smart JS animation library!
GitHub stars GitHub license


Simple fast , flexible & easy to integrate. No need to write page long CSS Keyframes that consumes a lot of time and no need to waste a lot on their customizations.

Give us your feedback

Created using https://gitrate.herokuapp.com/ Gitrate tool

Just use motionia.js it contains 100+ pre-built animations with a tons of customizations.

No need of using any kind of Scroll library, motionia is independent => No dependencies.

Alright, so explain me in 30 secs what it is actually?

Wanna save time? then just animate elements by adding data attributes.

Alt Text

<div data-motionia='fadeIn'> hi!, i am a fading in text! :)
 </div>

With a tons of customizations to elements such as delay , duration , repeat , easing , direction etc parameters.

all by using data attributes to html parametric elements itself.

Need to animate elements using js for some reasons? then just use like:

var myAnim = new motionia() 
// initialize motionia.js

myAnim.mo({
targets: '#div',
anim: 'rollLeft'
duration: '5s'
})
// targets can be any html parametric element and 
// then customize according to your needs!
// using simple JSON like structure.

Where to get?

Alt Text

Motionia on github

Experiment with it here

Alt Text

Examples

Visit my codepen for motionia.js examples and demos and to grasp easily what motionia can actually do.

Alt Text

Installations

Just add a script path of motionia via JSDELIVR into the head of your project

<script src="https://cdn.jsdelivr.net/gh/abhiprojectz/[email protected]/dist/motionia.js" defer></script>

Usage

We have a svg with id as mysvg now we wanna animate it such that animations triggers when it appears in viewport.

Alt Text

add a rolling effect from left rollleft

Alt Text

Set a delay of 5s

This is just a small example.

The animation will be triggered as soon as the element appers inside the viewport.

Note: if you want to trigger element using js then refer the section below.

<div data-mationia='rollLeft' data-delay='5s'> rolling from
 left </div>

The supported animation property is a shorthand property which can be accessed for:

animation-name animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction animation-fill-mode animation-play-state

Refer documentations for more details.

Sliding a element right by 200px

No keyframes straight forward text parameters.

use anim name slide as data-motionia='slide' then specify amount that is data-right='200px' & over!

<div data-motionia='slide' data-right='200px'>i slide by 200px right</div>

Alt Text

Using js syntax for advanced usage.

You can also trigger animation inside a function like onclick , ontouch etc or maybe as a result of a function.

Pre-built anims , which uses simple syntax makes it easy to decorate our project easily & without any dependencies.

First of all initialize motionia.jsa

var myAnim = new motionia() 
// initialize motionia.js

Now you can create a object and pass parameters in it to customize the anim.

use .mo method to pass parameters

myAnim.mo({
targets: '#div',
anim: 'rollLeft'
duration: '5s'
})

You can also overrides targets on every object no need to initialize motionia more than once.

Alt Text

Ideas

Many other animation library doesn't provide us built animations but motionia.js do.

Trigger it when elements visible in viewport or trigger on a click using easy JS setup.

The .mo({}) method quite works as a timeline feature.

So, keep going animating by a line.

For brief explanation refer docs.

Alt Text

Documentation

grab the docs here: docs of motionia

BONUS!

Now comes the MAIN part!

The best thing of motionia.js is mixing up of anims.

So , it totally depends on your creativity of how you mix the animations.

To rotate & then make a element bigger in size use:

data-motionia='rotateScaleIn' we just mixed the animations name.

Alt Text

Features at a glance

  • 30+ base animations.
  • Animation property customizations.
  • Easy Scroll builtin animation triggering.
  • Mixing Of animations increases the no. of built-in animations thus, makes it lightweight.
  • JSON structure customization.
  • NO dependencies
  • Tested on all major browsers.

Alt Text

Contribute

This is very important do fork it right now and come up with your ideas!

Stargazers repo roster for @abhiprojectz/motionia

Forkers repo roster for @abhiprojectz/motionia

Alt Text

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].