jQuery Logosdistort.js Plugin



Hello dear readers! Welcome back to another edition of our tutorial on jQuery. In this tutorial guide, we are going to be discussing about the Logosdistort.js plugin.

Logosdistort.js is a jQuery plugin that is used for a quick and easy implementation of the mouse over effects on images.

Example

Below is a simple Logosdistort.js example -

<!DOCTYPE  html  lang = "en">
<html   xmlns =  "https://www.w3.org/1999/xhtml">
     <head>
          <meta   charset =  "utf-8">
          <meta  name = "viewport"   content = "width = device-width ,   initial-scale = 1.0">          
          <title>Logosdistort.js  Example</title>

          <link  type = "text/css"   rel = "stylesheet"
               href = "https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> 
          
          <link  type = "text/css"   rel = "stylesheet"
               href = "assets/css/style.css" />
          
          <link  type = "text/css"   rel = "stylesheet"
               href = "assets/css/perspectiveRules.css" />             
     </head>

     <body>
          <div  id = "min-max-tag">
               <i  class = "fa fa-chevron-circle-left"></i>
          </div>

          <div  id = "demo1">
               <div  id = "particle-target"></div>
               <img  src = "assets/images/logo.jpg"   alt = "Logo" />
          </div>

          <script  type = "text/javascript"
               src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">
          </script>

          <script  src = "assets/js/jquery.logosDistort.min.js"></script>
          <script  src = "assets/js/jquery.particleground.min.js"></script>

          <script  type = "text/javascript">
               var  particles  =  true ,
               particleDensity ,

               options =  {
                    effectWeight :  2 ,
                    outerBuffer :  1.05 ,
                    elementDepth :  200
               };

               $( document ).ready( function( )  {

                    $( "#demo1" ).logosDistort( options );

                    if  ( particles )  {
                         particleDensity = window.outerWidth * 8.5;
                         if  ( particleDensity  <  13000 )  {
                              particleDensity = 13000;
                         }  else if  ( particleDensity  >  20000 )  {
                              particleDensity = 20000;
                         }
                         return  $( '#particle-target' ).particleground( {
                              dotColor:  '#1ec5ee' ,
                              lineColor:  '#0a4e90' ,
                              density:  particleDensity.toFixed( 0 ) ,
                              parallax:  false
                         } );
                    }
               } );
          </script>
          
     </body>
</html>

RECOMMENDED: jQuery Tagsort Plugin

Alright guys! This is where we are rounding up for this tutorial post. In our next tutorial guide, we are going to be discussing about the Filer.js Plugin.

Do feel free to ask your questions where necessary and i will attend to them as soon as possible. If this tutorial was helpful to you, you can use the share button to share this tutorial.

Follow us on our various social media platforms to stay updated with our latest tutorials. You can also subscribe to our newsletter in order to get our tutorials delivered directly to your emails.

Thanks for reading and bye for now.