This is a demonstration of how you can use parallax dots for different stuff such as stars, snow and bubbles. First, you will be shown three examples. Then you'll be able to control the dots with the arrow keys.
The sprites floating around in space are from the Scratch library. The rest is by me.