Nebula
A volumetric gas nebula sealed inside polished glass; billowing emission clouds with hollow dark cavities and hot glowing cores, star fields drifting at real depth behind the gas, all refracted through the curved walls of the shape and dressed with studio reflections
Props
Prop
Details
originstringDefault:
centerReference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
originstringDefault: centerReference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}Center position of the nebula shape
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the nebula shape
scalenumberDefault:
1Scale of the nebula shape (1 = default size)
scalenumberDefault: 1Scale of the nebula shape (1 = default size)
rotationnumberDefault:
0Rotation of the nebula shape in degrees
rotationnumberDefault: 0Rotation of the nebula shape in degrees
coreColorstringDefault:
#ffd9b0The hot colour the densest gas cores glow with — the embedded newborn stars
coreColorstringDefault: #ffd9b0The hot colour the densest gas cores glow with — the embedded newborn stars
gasColorstringDefault:
#ff5e7aThe main emission colour of the gas body — H-alpha rose by default
gasColorstringDefault: #ff5e7aThe main emission colour of the gas body — H-alpha rose by default
veilColorstringDefault:
#3a5bdbThe colour of the thin outer veils and the deep-space background behind the gas
veilColorstringDefault: #3a5bdbThe colour of the thin outer veils and the deep-space background behind the gas
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
oklabColor space the veil → gas → core ramps blend in
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: oklabColor space the veil → gas → core ramps blend in
densitynumberDefault:
1Optical density of the gas — how strongly clouds occlude the stars and gas behind them
densitynumberDefault: 1Optical density of the gas — how strongly clouds occlude the stars and gas behind them
cavitynumberDefault:
0How hollowed-out the nebula is — 0 fills the volume with cloud banks, high carves large dark voids between them
cavitynumberDefault: 0How hollowed-out the nebula is — 0 fills the volume with cloud banks, high carves large dark voids between them
dustnumberDefault:
0.55Cold dark dust lanes threading the gas — absorb-only tendrils that redden the clouds and stars behind them
dustnumberDefault: 0.55Cold dark dust lanes threading the gas — absorb-only tendrils that redden the clouds and stars behind them
gasScalenumberDefault:
0.4Feature size of the gas — higher = finer, busier cloud detail
gasScalenumberDefault: 0.4Feature size of the gas — higher = finer, busier cloud detail
billownumberDefault:
0.6Turbulent folding of the clouds — 0 = smooth drifting banks, 1 = heavily churned billows
billownumberDefault: 0.6Turbulent folding of the clouds — 0 = smooth drifting banks, 1 = heavily churned billows
glownumberDefault:
0Hot emission bloom of the dense cores
glownumberDefault: 0Hot emission bloom of the dense cores
seednumberDefault:
0Random seed — pans the gas field to a different region of noise space for a new cloud composition
seednumberDefault: 0Random seed — pans the gas field to a different region of noise space for a new cloud composition
starsnumberDefault:
0.07Brightness of the star fields drifting at depth behind and inside the gas
starsnumberDefault: 0.07Brightness of the star fields drifting at depth behind and inside the gas
starScalenumberDefault:
1Density of the star fields — higher = smaller, busier stars
starScalenumberDefault: 1Density of the star fields — higher = smaller, busier stars
twinklenumberDefault:
0.35Intensity of the star twinkle (0 = steady stars, 1 = full shimmer)
twinklenumberDefault: 0.35Intensity of the star twinkle (0 = steady stars, 1 = full shimmer)
refractionnumberDefault:
0.5How strongly the curved glass walls bend the interior seen near the edges
refractionnumberDefault: 0.5How strongly the curved glass walls bend the interior seen near the edges
environmentnumberDefault:
0.7Strength of the studio softboxes reflected in the polished glass surface
environmentnumberDefault: 0.7Strength of the studio softboxes reflected in the polished glass surface
highlightnumberDefault:
1.15Sharp key-light glint on the glass
highlightnumberDefault: 1.15Sharp key-light glint on the glass
highlightSoftnessnumberDefault:
0.5Specular highlight softness — lower is a tighter, sharper glint
highlightSoftnessnumberDefault: 0.5Specular highlight softness — lower is a tighter, sharper glint
lightAnglenumberDefault:
315Direction of the key light and reflected studio, in degrees
lightAnglenumberDefault: 315Direction of the key light and reflected studio, in degrees
edgeSoftnessnumberDefault:
0.05Softness of the shape boundary edge
edgeSoftnessnumberDefault: 0.05Softness of the shape boundary edge
speednumberDefault:
0.3Speed of the slowly churning gas and twinkling stars. 0 freezes the nebula.
speednumberDefault: 0.3Speed of the slowly churning gas and twinkling stars. 0 freezes the nebula.
shapeShapeConfigDefault:
prism3DShape to render — choose from 11 built-in analytical shapes or supply a custom SDF. See the Shape Effects guide for all available shapes and their options.
shapeShapeConfigDefault: prism3DShape to render — choose from 11 built-in analytical shapes or supply a custom SDF. See the Shape Effects guide for all available shapes and their options.
shapeSdfUrlstringDefault:
""URL to a pre-generated SDF `.bin` file — when non-empty, activates SVG mode and triggers a shader recompile. See the Shape Effects guide for how to generate an SDF from an SVG.
shapeSdfUrlstringDefault: ""URL to a pre-generated SDF `.bin` file — when non-empty, activates SVG mode and triggers a shader recompile. See the Shape Effects guide for how to generate an SDF from an SVG.