Porting frame buffer Shadertoy to three.js

Hello!

I want to port this shader: Shader - Shadertoy BETA, to three.js. I’m new with fragment shaders but I’m using this thread as a semi-guide for how to port this type of frame buffer shader: Basic Feedback and Buffer Implementation with GLSL Shaders - Questions - three.js forum

Sadly, there seem to be lots of variables that needs to be converted in ways that are unknown for me. And the resources for this type of porting is sparse to say the least. So i’m asking all the shader masters out there for some kind of guidance of how to port this code/variables to make the port successful. Or if someone have good information to direct me to!

Thank you!