How do you make an Oscillating Color in Material?

That is strange, can you try this workaround and let me know if it works?

Hello,
I want an effect with my material where the texture displayed in the material becomes black then white then black again with the texture displaying in between the transitions. I have already achieved the desired effect by using a sine wave and hooking that up with time, but after a while the transition becomes very choppy. Is there any other way to do this? Also- if this affects the response any- the project is set up for mobile. I launch it on an android.

Here it is in its white stage:

Here it is in its transitional-texture displaying stage:

And here it is in its black stage:

Thank you.

It becomes choppy after a while, because you are loosing floating point precision as the time value increases. Check the time node. It has settings to set up loop period for the time. Set it to something reasonable. Also consider using a frac node after multiplying time by speed factor.