The below equation gives beautiful graph in desmos. I was trying to find a way to draw this graph using Javascript but for that I first need to express y in terms of x but I am not able to figure out a way, any pointers would be great.
$$y=2x(\sin x)(\cos y)$$