Skip to content

fritx/believe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

believe

Believe your js

Css3 Animation Engine

Demo: http://fritx.github.io/believe/demo

Usage

var believe = new Believe() // new instance
var pos1 = { x: 30, y: 60 }
var pos2 = { x: 30, y: 60 }
var $box1 = $('.box1')
var $box2 = $('.box2')

believe.bind($box1, pos2) // bind dom with pos data
believe.bind($box1, pos2)
believe.start(loop) // start with loop

function loop(){
  pos1.x += k
  pos2.y -= k
}

About

Believe your js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published