Skip to content

A repo showing the effect of webGL. Displacement effect using three.js, hover effect, and tweenmax

Notifications You must be signed in to change notification settings

Terieyenike/displacement-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

Distortion hover effect using WebGL

Motivation for this project

The inspiration for this project came from the fact I want to create a displacement effect for the web using hover effect that reveals the next image underneath.

Snapshot for the project

Displacement image 1

Distortion image 2

Preview for the project

Gif display

Gif display 2

Getting Started

You need to have basic understanding of HTML, CSS, and Javascript. This project was build using external javascript from the following.

  1. Hover effect from Robin Dela
  • The library that creates the actual effect
  1. Three.js
  • A WebGL library that the hover-effect library uses for the distortion
  1. TweenMax
  • A GSAP library that allows the hover-effect library to create the fade animation

To use this external source code,

  • Embed them in your script tag before the closing body tag.

Deployment

Netlify

Author

Teri Eyenike

Follow me on social

Twitter

Github

Follow the link to view this project, below

  1. Displacement

  2. Distortion-webGL

About

A repo showing the effect of webGL. Displacement effect using three.js, hover effect, and tweenmax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published