Modal Window Based On jQuery and GSAP With Motion Blur Effect

Motion Blur Experiment is an elegant animated stylistic window with an SVG filter-based motion blur effect, built with the jQuery JavaScript library, CSS3, SVG, and GSAP (TweenMax.js).

How to make use of it:

1. Create a modal window that is hidden on page load.

<div class="modal">
  <button class="close-modal">×</button>
  <p>Modal Content</p>

2. Create a button to toggle the modal window.

<button class="open-modal">Open Modal</button>

3. Create a full-screen overlay of the sample frame.

<div class="modal-overlay"></div>

4. Create SVG elements for a motion blur effect. More information about SVG filters.

<svg xmlns="" version="1.1" class="filters">
    <filter id="blur">
      <feGaussianBlur id="blur-filter" in="SourceGraphic" stdDeviation="0,0" />

5. Basic CSS/CSS3 Styles.

* { box-sizing: border-box; }

.modal-overlay {
  background: rgba(51,51,68,0.4);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;

.modal {
  background: #eeeaea;
  text-align: center;
  width: 230px;
  height: 320px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 3px;
  margin: auto;
  padding: 20px;
  -webkit-filter: url("#blur");
  filter: url("#blur");
  -webkit-transform: translate3d(0, -900%, 0);
  transform: translate3d(0, -900%, 0);

.close-modal {
  background: none;
  border: none;
  position: absolute;
  font-size: 20px;
  right: 10px;
  top: 10px;
  color: #334;
  outline: none;

.filters {
  position: absolute;
  width: 0;
  height: 0;

6. Load the latest jQuery and TweenMax.js library.

<script src="//"></script> 
<script src="//"></script> 

7. Enable modal window and motion blur effect.

  var $obj=$(".modal")
  function setBlur(v){
    blur.setAttribute("stdDeviation", v);
  function getPos(){
    return $obj.position();
  var lastPos=getPos();
  function update(){
    var pos=getPos();
    var limit=20;
    var dx=Math.min(limit,Math.abs(pos.left-lastPos.left)*0.5);
    var dy=Math.min(limit,Math.abs(*0.5);
  var isOpen=false;
  	function openModal(){
  function closeModal(){$overlay,0.1,{delay:0.55,autoAlpha:0});$obj,0.55,{y:$(window).height()+$obj.height(),ease:Back.easeIn,force3D:true});

jQuery & GSAP Based Modal Window with Motion Blur Effect, Motion Blur Experiment Plugin/Github

See Demo And Download

Official Website(lbebber): Click Here

This superior jQuery/javascript plugin is developed by lbebber. For extra Advanced Usage, please go to the official website.