How to implement the Nebula system?

I want to use code to realize the stellar cloud belt marked in the picture. How should I achieve it?

I want to use the scattered clouds in the picture to connect my planets. What should I do?