Jump to content
Search Community

Elastic Frame — Mouse Interaction

Guest
Moderator Tag

Recommended Posts

Hello everyone,

 

I was wondering how it would be possible to achieve the following elastic border effect around the images on the Hello Monday website

 

Waaark's pen here creates a somewhat similar thing but I mainly was wondering how you can, for instance, achieve a similar effect (similar to the Hello Monday website) around the edges of a grid of divs inside a flexbox.

 

Thanks!

See the Pen ENRvvq by waaark (@waaark) on CodePen

Link to comment
Share on other sites

Hey pkid and welcome.

 

This effect is done using WebGL. The pen you linked to above just uses <canvas>. If you are trying to recreate it completely from the ground up it will probably take a while to create because you need to understand WebGL, especially shaders. However, you could modify other similar effects to do that sort of effect like these:

  • Like 2
Link to comment
Share on other sites

  • 6 months later...

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...