jQuery Logos Distort Plugin Last Updated : 29 Jul, 2024 Summarize Comments Improve Suggest changes Share Like Article Like Report The jQuery provides LogosDistort plugin which helps in creating or animating a parallax environment for 3D scenes in the user browser. It uses full-page matrix3D perspective logos distortions for transforming base on mouse movement. You have to download the required files in the working folder so that the programmer can include in the head section of the HTML structure page as implemented in the following programs. Example 1: The following example shows the basic logosDistort() method of the plugin. html <!DOCTYPE html> <html> <head> <title>jQuery Logos Distortion Plugin</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="style.css" rel="stylesheet" /> <link href="perspectiveRules.css" rel="stylesheet" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"> </script> <script src="jquery.logosDistort.js"></script> <script src="jquery.particleground.min.js"></script> </head> <style> body { text-align: center; font-family: sans-serif; font-size: 12px; } </style> <body> <h1 style="color:green">GeeksForGeeks</h1> <b>jQuery Logos Distortion Plugin </b> <p></p> <div id="imagesDivID"> <img alt="bgImage" src="images/background1.jpg" /> <img alt="" src="images/gfg1.png" /> <img alt="" src="images/gfg3.png" /> </div> <script> $("#imagesDivID").logosDistort(); </script> </body> </html> Output:Example 2: The following example shows few options setting for the logosDistort() method. The programmer can set the options depending on the requirement of the application for the visual effect. html <!DOCTYPE html> <html> <head> <title>jQuery Logos Perspective Distortion</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="style.css" rel="stylesheet" /> <link href="perspectiveRules.css" rel="stylesheet" /> </head> <body> <h1 style="color:green;">GeeksForGeeks</h1> <b>jQuery Logos distortion</b> <div id="imagesDivID"> <img alt="background" src="images/background1.jpg" /> <img alt="" src="images/gfg1.png" /> <div></div> <img alt="" src="images/background2.jpg" /> <img alt="" src="images/gfg2.jpg" /> <div></div> <div></div> <img alt="" src="images/gfg5.jpg" /> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"> </script> <script src="jquery.logosDistort.js"></script> <script src="jquery.particleground.min.js"></script> <script> var options = { enable: true, effectWeight: 2.5, outerBuffer: 1.30, elementDepth: 140, enableSmoothing: true, smoothingMultiplier: 1.5, perspectiveMulti: 1, directions: [1, 1, 1, 1, -1, -1, 1, 1], weights: [0.0000310, 0.0001800, 0.0000164, 0.0000019, 0.0001200], depthOverride: false, mouseMode: 'container' }; $("#imagesDivID").logosDistort(options); </script> </body> </html> Output:Example 3: The following example shows multiple cards shown in the same page with logosDistort effect. html <!DOCTYPE html> <html> <head> <title>Logos Perspective Distortion </title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="style.css" rel="stylesheet" /> <link href="perspectiveRules.css" rel="stylesheet" /> <script src= "https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"> </script> <script src="jquery.logosDistort.js"></script> <script src="jquery.particleground.min.js"></script> </head> <style> body { text-align: center; } .containerDiv { width: 100%; } .section { width: 550px; height: 310px; margin: 2px; border: 1px solid black; position: relative; display: inline-block; } </style> <body> <h1 style="color:green">GeeksForGeeks</h1> <b>Logo Distortion Plugin</b> <p></p> <div class="containerDiv"> <div class="section"> <img alt="background" src="images/background1.jpg" /> <img alt="ui" src="images/gfg1.png" /> </div> <div class="section"> <img alt="background" src="images/background2.jpg" /> <img alt="ui" src="images/gfg3.png" /> </div> <div class="section"> <img alt="background" src="images/geeksimage1.png" /> <img alt="ui" src="images/logo.png" /> </div> <div class="section"> <img alt="background" src="images/geeksimage2.png" /> <img alt="ui" src="images/gfg3.png" /> </div> <div class="section"> <img alt="background" src="images/background2.jpg" /> <img alt="ui" src="images/gfg1.png" /> </div> <div class="section"> <img alt="background" src="images/background3.jpg" /> <img alt="ui" src="images/gfg6.png" /> </div> </div> <script> new logosDistort( document.getElementsByClassName('section'), { container: 'self', //This is new option perspectiveMulti: 1.2, mouseMode: 'container', outerBuffer: 2, effectWeight: 4 } ); </script> </body> </html> Output:Example 4: The following example shows distortion background with fixed login screen for user. html <!DOCTYPE html> <html> <head> <title>Logos Perspective Distortion </title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="style.css" rel="stylesheet" /> <link href="perspectiveRules.css" rel="stylesheet" /> <script src= "https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"> </script> <script src="jquery.logosDistort.js"></script> <script src="jquery.particleground.min.js"></script> </head> <style> .loginClass { position: absolute; top: 0; left: 0; z-index: 3; width: 100%; height: 100%; } .login-inputs { position: absolute; width: 350px; height: 220px; margin-top: -100px; margin-left: -150px; background: #e9e9e9; color: #333333; border-radius: 3px; box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5); padding: 30px; display: inline-block; } input { width: 100%; height: 30% } .login-controls { width: 100%; position: absolute; top: 50%; text-align: center; z-index: inherit; } </style> <body> <div class="loginClass"> <div class="login-controls"> <div class="login-inputs"> <input type="text" placeholder="Email ID" /><br /> <input type="password" placeholder="Password" /><br /><br /> <input type="submit" placeholder="Login" /> </div> </div> </div> <div id="logoDistortDivID"> <img alt="bgImage" src="images/background1.jpg" /> <img alt="" src="images/gfg2.jpg" /> </div> <script> var distort = new logosDistort( document.getElementById('logoDistortDivID'), { perspectiveMulti: 1.5 } ); </script> </body> </html> Output: Comment More infoAdvertise with us Next Article jQuery Filer Plugin G geetanjali16 Follow Improve Article Tags : Web Technologies JQuery jQuery-Plugin Similar Reads jQuery Page Piling Plugin jQuery pagePiling.js plug-in is a rich feature available for programmers for piling more than one layout section, one over the other, and accessing each page by URL or mouse scrolling or side bullets navigation. This feature provides all type of smooth vertical, horizontal, and side navigations to t 5 min read jQuery | Flickerplate Plugin jQuery provides Flickerplate plugin that helps our programmers to create sliders for websites that can cycle through a list of background images along with dot navigation feature and animated arrows. The plugin consists of many more libraries that are responsible for touch detections and events such 5 min read jQuery Multiscroll Plugin jQuery provides multiscroll.js plugin which helps programmers to create split web pages along with divided multiple vertical scrolling panels.Note: Please download the jQuery multiscroll plugin to your working folder and include the required files in the head section of your code as shown below. Dow 3 min read jQuery RowGrid Plugin jQuery provides a very simple, user-friendly and responsive rowGrid plugin that helps programmers to display images in a straight row. It is very lightweighted and supports infinite scrolling feature. Real examples of rowGrid are Google+ images or Google image search that appears in a straight row g 4 min read jQuery Alertify Plugin jQuery framework provides alertify.js plugin that provides pre-designed customizable notification system along with interactive browser dialogs. This extensible and themeable plugin is very useful for developers providing an optimized version of alert messages with stacking up to feature. This small 5 min read jQuery Image ProgressBars Plugin In this article, we will learn how to implement image ProgressBar feature using the jQuery Image ProgressBar plugin. Note: Please download the jQuery Image ProgressBar plugin in the working folder and include the required files in the head section of your HTML code. <link href=âprogressbar.cssâ r 2 min read jQuery DrawSVG Plugin SVG or Scalar Vector Graphics is Extended Markup Language-based graphics supporting 2 dimensional animations of images enhancing interactiveness. The specifications of SVG are open standards by World Wide Web Consortium defined in XML text files. These files can be changed or created with any drawin 4 min read jQuery Tagsort Plugin jQuery provides Tagsort plugin that is used for displaying tags or filter elements based on different tags in a DOM. The plugin takes data-attributes of HTML page structure and dynamically creates user-friendly tags used for filtering elements. The filtration of elements are done in many ways that a 9 min read jQuery Logos Distort Plugin The jQuery provides LogosDistort plugin which helps in creating or animating a parallax environment for 3D scenes in the user browser. It uses full-page matrix3D perspective logos distortions for transforming base on mouse movement. You have to download the required files in the working folder so th 4 min read jQuery Filer Plugin jQuery provides a quick jQuery Filer uploader plugin for easy implementation of uploading the files. It provides features like instant uploading of files, file append, file removal, multiple selections, drag and drop support along with other file validations.Download the required files to include it 2 min read Like