use node-generated grayscale image as texture for particles
AFAIK it's not possible in 2.8 and greater version. For 2.79 and less there was texture node editor which generates textures. These textures maybe - i'm not sure - used for particle system.