Spiderverse dot lights

i want to make this dotted light as a material function but i dont know how can i do this, i am begginer pls help