0.1.2 • Published 8 years ago

tiltflow v0.1.2

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

TiltFlow

When you just want to add that cool tilty flowy effect to your website.

Getting started

npm install tiltflow --save or just download and insert tiltflow.min.js

<body>
	<div class="your-element" data-tf></div>

	<script src="tiltflow.min.js"></script>
	<script>
		var yourElement = document.querySelector('.your-element');
		var yourCoolElement = new TiltFlow(yourElement);
	</script>
</body>

Options

{
    duration: 1.175,
	move: 0.032,
	"rotation-x": 0.036,
	"rotation-y": 0.036
}

To do

  • Add comments(!);
  • Make it dependency-free;
  • Perspective option.
0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago