The overlay is a universe made of dots. Several galaxies sit in a faint field of stars, and every galaxy is thousands of individual points of light that orbit its core. The galaxies move through space and pull on one another, so their arms stretch into tails, dots pass from one galaxy to another, galaxies that meet closely merge into new shapes, and black holes swirl in the dots near them and swallow some. The motion is slow, so it never competes with what is in front of it, and it keeps changing for as long as the source runs. Put it at the back of a scene as the background layer. It is drawn by the page itself, with no pictures to download. It needs no account and no key, and it asks no other service for anything. It is a separate tool from the Procedural Galaxy Background, which draws softer clouds and galaxies as pictures; use whichever look you prefer, or both.
Build it
Open the Particle Galaxy Background builder from the Tools page. The preview at the top is the real overlay, and it reloads a moment after you change a setting. Every setting has a starting value, so Copy URL and Open always work. See Add a tool to OBS for the browser source steps.
The universe
- Galaxies
- From 1 to 6. How many galaxies there are. Each one takes its own place, size and lean, they keep apart from one another, and each turns one way or the other.
- Density
- From 1 to 100. How many dots each galaxy is made of. The whole universe is capped, so a universe of many galaxies gives each one fewer dots.
- Orbit speed
- From 1 to 100. How fast the dots orbit, and so how fast the whole universe develops. In elliptical and ring galaxies the dots near a core circle faster than those near the rim; a spiral or barred galaxy turns as one piece until something pulls on it.
- Brightness
- From 1 to 100. How bright the dots and the glow around each core are.
- Opacity
- From 1 to 100. How solid the whole picture is. Lower it to let your scene show through.
- Faint stars
- A switch for the small twinkling stars behind the galaxies.
- Keep this arrangement
- Where each galaxy sits, which way it turns and how it leans are chosen at random. With this off, each time the source loads you get a new universe. Press Shuffle the galaxies until you like one and the link keeps it, so it looks the same every time.
The living universe
The galaxies are not fixed: they drift, and everything in the universe pulls a little on everything else. These switches decide how much of that happens. All are on to begin with.
- Galaxies pull on one another
- Galaxies attract each other and the dots of the other galaxies, so their arms stretch into long tails, dots are pulled across and some end up in the other galaxy, and the galaxies fall toward one another and past one another. With it off they drift through one another and nothing is stretched or traded.
- Galaxies merge
- Two galaxies that meet closely and cannot part become one bigger galaxy with a flash. The dust left in the wreckage gathers over a few minutes into a new galaxy, of another kind, where it is thickest, and when there is no dust a new galaxy arrives from outside the frame, so the universe keeps its galaxies and keeps meeting. Merging needs the pull on.
- Black holes
- One or two black holes sit among the galaxies, each a dark middle with a glow that brightens as it swallows dots. They pull on the dots and the galaxies near them, swirling the dots round them, and a swallowed dot comes back on an orbit of its own galaxy.
- Supernovas and big bangs
- Now and then a supernova flares in the core of a galaxy, and a black hole that has swallowed enough dots bounces in a big bang. Each blast shows as a flash with a ring that spreads out, kicks the dots near it outward, and makes a new galaxy of another kind at its edge from the wreckage of one that merged away. With it off, galaxies only come back from dust or from outside the frame, as they do after any merger.
- Pull strength
- From 1 to 100. How hard galaxies and black holes pull on what is not their own. The middle is 50; lower is gentler and slower to change, and higher stretches and merges galaxies sooner.
The universe is a light approximation, not a physics simulation, and it is built to run for as long as the source is on: it keeps all of its dots, keeps its galaxies and never settles into stillness.
Kinds of galaxy
Each galaxy takes one of four forms, and you choose which forms may appear. With all four on, a universe of four galaxies shows each form once.
- Spiral
- A bright round core with two arms that wind out from it.
- Barred spiral
- A long straight bar of dots through the core, with an arm leaving from each end of the bar.
- Elliptical
- A smooth, flattened cloud of dots that is densest in the middle and thins out toward the edge.
- Ring
- A ring of dots round a small core, with a clear gap between the two.
At least one form stays on. A galaxy that is born again from dust takes a new form chosen from the ones you allow.
Presets and colors
A preset sets the colors and the amount of everything at once. You can change anything after choosing one.
- Deep Space
- A near-black sky with warm cream cores and pale blue arms. It is the starting preset.
- Neon Nebula
- A deep violet sky with pink cores and cyan arms.
- Golden Core
- A dark warm sky with golden cores and orange-red arms, and three galaxies.
- Aurora
- A dark green-black sky with pale cores and green arms, and five galaxies.
Three colors can be changed: the background color of the opaque mode, the color of the dots near the middle of each galaxy, and the color of the dots far from it. The dots in between blend from one to the other.
Opaque and transparent
In opaque mode, the starting one, the overlay fills its whole frame with deep space, a little lighter in the middle, and draws the stars and galaxies on it, so it can stand alone as the background layer. In transparent mode it draws only the stars and galaxies and leaves everything else clear, so they turn over whatever is behind the browser source.
Landscape and portrait
Set the browser source to the size of your stream’s frame, such as 1920 by 1080 for landscape or 1080 by 1920 for portrait. Sizes follow the frame’s shorter side, so a landscape and a portrait frame look alike, and every galaxy keeps its place if the frame is resized. In the builder, Landscape and Portrait only change the shape of the preview, and they are not part of the link.
Performance
- The total number of dots is capped, so many galaxies at the highest density stay light, and the universe never grows past it however long it runs.
- The dots are drawn in a handful of batches, not one by one, so each frame is cheap.
- The picture is drawn at no more than thirty frames a second, which is smooth for motion this slow, and at no more than twice the page’s size on a very sharp display.
- The animation stops while the page is hidden, such as a browser source that is not shown, and carries on when it is shown again.
- If your device asks for reduced motion, the overlay draws one still picture instead of animating.
Use it with other overlays
The Particle Galaxy Background is its own browser source. Add it as the bottom source of a scene, in opaque mode or with a lowered opacity, and put other overlays such as Snowfall or Confetti above it.
Advanced: change it in the link
Everything the builder does is a setting in the link after the #. Your browser does not send that part to our server. A preset sets the starting values, and only settings that differ from it are written, so a link with no settings at all is the starting overlay.
| Setting | Values | Starts as |
|---|---|---|
preset | deep-space, neon-nebula, golden-core or aurora | deep-space |
mode | opaque or transparent | opaque |
base, core, arm | a color, such as 19d3ff | the preset’s colors |
galaxies | 1 to 6 | 4 |
density | 1 to 100 | 60 |
speed | 1 to 100 | 45 |
brightness | 1 to 100 | 70 |
opacity | 1 to 100 | 100 |
forms | a comma list of spiral, barred, elliptical and ring | all four |
stars | 1 for on, 0 for off | on |
interact, merge, holes, events | 1 for on, 0 for off: galaxies pull on one another, galaxies merge, black holes, supernovas and big bangs | on |
strength | 1 to 100 | 50 |
seed | 1 to 999999 keeps one arrangement; 0 or none gives a new one each load | 0 |
A setting that is missing or not valid takes its start value from the preset, and a number outside its range is held to the nearest end of it. The starts shown are those of Deep Space.