See https://en.wikipedia.org/wiki/Thomas%27_cyclically_symmetric_attractor for mathematical explanation.
Click for random particles number and random rules.
Click on bottom-right corner for fullscreen.
A variation of this piece is available as an iNFT which is specific to the owner. Rules will be more complex and the result could be very different from this one.