If someone already knew about this pattern, please let other people solve this.
This seems to be
and I didn't know about it until
I looked at the top voted Puzzling questions, lol
The pattern is:
a yellow space with one or zero, or four or more adjacent yellow spaces is gray in the next pattern;
and each gray cell with two or three adjacent yellow cells becomes a yellow cell in the next pattern.
Using the pattern in the wiki article, the next pattern should be