jQuery Plugin For 3D Perspective Transforms On Mousemove LogosDistort - Download jQuery Plugin For 3D Perspective Transforms On Mousemove - LogosDistort

Download jQuery Plugin For 3D Perspective Transforms On Mousemove – LogosDistort

Posted on

This time I will share jQuery Plugin and tutorial about jQuery Plugin For 3D Perspective Transforms On Mousemove – LogosDistort, hope it will help you in programming stack.

jQuery Plugin For 3D Perspective Transforms On Mousemove LogosDistort - Download jQuery Plugin For 3D Perspective Transforms On Mousemove - LogosDistort
File Size: 14.1 MB
Views Total: 31160
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

LogosDistort is a fancy jQuery plugin that helps you create unique 3D perspective distortions with mouse interaction using CSS matrix3d transforms. A little similar to the parallax effect that reacts to viewer’s cursor.

More examples:

Basic usage:

1. Load the jQuery LogosDistort’s stylesheet for perspective rules.

1 <link href="css/perspectiveRules.css" rel="stylesheet">

2. Add the parallax elements into a container.

1 <div id="demo">
2   <img src="1.png">
3   <img src="2.png">
4   ...
5 </div>

3. Call the plugin on the container.

1 $("#demo").logosDistort(//OPTIONS);

4. Full plugin options.

01 enable: true,
02 effectWeight: 1,
03 enableSmoothing: true,
04 smoothingMultiplier: 1,
05 activeOnlyInside: false,
06 outerBuffer: 1.10,
07 elementDepth: 140,
08 perspectiveMulti: 1,
09 directions: [1, 1, 1, 1, -1, -1, 1, 1],
10 weights: [0.0000310, 0.0001800, 0.0000164, 0.0000019, 0.0001200],
11 container: win,
12 depthOverride: false,
13 mouseMode: 'container',
14 cssClasses: {
15   smartContainer: 'ld-smart-container',
16   overlapContainer: 'ld-overlap-container',
17   parent3d: 'ld-3d-parent',
18   transformTarget: 'ld-transform-target',
19   active: 'ld-transform-active',
20   object3d: 'ld-3d-object'
21 },
22 beforeInit: function() {},
23 onInit: function() {},
24 onDestroy: function() {}

Change log:

v0.3.3 (2015-10-07)

  • Many bug improvements and fixes
  • fixed top calculations

v0.3.1 (2015-10-03)

  • adds viewport check

v0.3.0 (2015-09-28)

  • JQuery no longer a requirement.
  • Multiple element on screen now supported. 
  • Added new mouse movement listeners. 
  • New Option: perspectiveMulti
  • New Option: depthOverride
  • Fixed a few bugs, performance should be more consistant now.

2015-03-11

  • Fixed issue related to image loading

 


This awesome jQuery plugin is developed by hellsan631. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net