How do I apply this effect to cylinder geometry?

three.js
cylinder geometry
How to achieve the same effect as in the link above on a cylinder with the lid open?
What should I do?
https://codepen.io/simeydotme/pen/gOqNxRa

Since it’s CSS, not WebGL, you cannot really apply it to geometries.

You could place a flat plane parallel to the lid and render a flat VFX animation on it with a simple shader.