Motion
Get Motion

ReferenceLayersBackgrounds

Nebula

Clouds of colour slowly folding through each other.

Kind
Layer · Backgrounds
Script name
nebula
Cost to draw
Heavy
Blend
Light costs no extra pass
The Nebula layer with its default settings
The Nebula layer with its default settings.

Notes

A nebula looks best with something in front of it: Stars above it, or a second, smaller nebula set to Screen under Layer, so it only ever lightens what's below. Nebula Drift does both.

Nebula

SettingKindStarts atRange and notes
First colourcolour1colour#0b2a3a–
Second colourcolour2colour#7ce695–
Third colourcolour3colour#a98bff–
Cloud covercoveragenumber60%0% to 100%
Sizesizenumber1×0.3 to 4×
Swirlswirlnumber0.8×0 to 2×
Speedspeednumber0.5×0 to 3×
Depthdepthnumber1.4×0.5 to 3×
Brightnessbrightnessnumber90%0% to 200%
Detaildetailnumber52 to 7More is finer, and heavier

From a script

Every setting above can be changed by the scene's logic, by its key. Say the layer is called Nebula:

scene.set("Nebula", "colour1", "#ff8a5c");scene.animate("Nebula", "opacity", 0.5, 2);

Used in

The example scenes with a Nebula layer in them. Each picture is the whole scene, not the layer alone: open one to see what the layer does in it.

What every layer has

Besides its own settings, every layer has its opacity, blend, placement, quick effects and an effects stack. They're listed once, on the layers page.