As I originally wanted the shader to clip onto the sine and cosine lines I created, I later realized that I couldn’t have an animated curve and my shader as when I activated the shader in the code the animation would freeze. My original code is inspired by sound waves. More specifically the visual aspect of sound curves.
The final version of my shader is pretty bland as it was only made when I decided I had spent too much time on my original code which wouldn’t work with my planned shaders. In the end, my final shader uses basic shapes and some mix() functions to create the gradients within the shapes.