Weird waves

When I run the code for a while, it makes these weird waves! Why?

Not sure what you think is weird. Is it these:
Screen Shot 2023-03-21 at 8.20.06 AM
Those rounded diamond shapes are moiré patterns, what you get when two sets of stripes are overlayed.

Interesting, you should rotate sprite (2) at the same time like this... cool effect

yes, sorry i am in class