+ 8

How to make black background with white dots scattered across (SVG preferred)

I need an example code of how to make a black background with small white dots(stars) scattered randomly across the screen. 💎💎💎💎💎💎💎💎 💎SVG is preferred. 💎 💎💎💎💎💎💎💎💎 It should look similar to this: https://code.sololearn.com/Wqu7m22g8UP8/?ref=app

4th May 2018, 4:55 PM
🐺Michael🐺
🐺Michael🐺 - avatar
1 Réponse
+ 5
Easy way: 1) create an root svg 2) generate random position (x and y) 3) add an circle with x and y to root svg https://code.sololearn.com/W163yDUMbNx9/#
4th May 2018, 5:56 PM
KrOW
KrOW - avatar