+ 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
1 Answer
+ 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/#