Jump to content
Search Community

Hello! Any idea how I could go about making something like this:

Clearly Vinay test
Moderator Tag

Recommended Posts

Hey Vinay. This effect is almost definitely done using WebGL. To create this sort of effect you should probably 

  1. Render the text via <canvas>.
  2. Use that canvas as a texture in WebGL.
  3. Create a warping effect in your fragment shader at the edges.
  4. Pass in the mouse position to your shaders (making sure it lines up correctly).
  5. Apply a displacement effect in your fragment shader that lessens over time to create the interaction effect.

GSAP can help with the animation part :) 

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...