Creating dotted effect in PS

I’m trying to re-create a effect i produced in PS from a tutorial but i can’t for the life me find it again.

Basically, it is a kind effect where a gradient colour is transformed into a series of dots that gradually get bigger from one side of the gradient to the other?

Any ideas plz.

Thanks