THIS IS NOT PERLIN NOISE, I messed up :)
Found this : https://www.desmos.com/calculator/xykhidbkbg Also thanks to the book of shaders for teaching me the basic idea of the Perlin algorithm.