For the color, I made two lines (or curves) with sin and cos functions. I changed the geometry where the geometry is higher for position on the lines. I used a diffuse light to the front and a specular light rotation around.
For animation, I let the sphere rotate with the speed uniform giving from the js file; let the pattern on the square move based on the speed uniform; let the specular light rotate aound the square and sphere clockwisely.
I added some sliders to control the colors and animation.