Obsidian
Dark tinted glass whose faces stay near-black while every surface turning away from the viewer ignites with a flowing iridescent gradient — vivid colour living only on the oblique walls and bevels
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 glass shape
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the glass shape
scalenumberDefault:
1Scale of the glass shape (1 = default size)
scalenumberDefault: 1Scale of the glass shape (1 = default size)
rotationnumberDefault:
0Rotation of the glass shape in degrees
rotationnumberDefault: 0Rotation of the glass shape in degrees
bodyColorstringDefault:
#06071aThe dark body of the glass — what the faces looking straight at you show. Keep it deep for the iridescence to pop.
bodyColorstringDefault: #06071aThe dark body of the glass — what the faces looking straight at you show. Keep it deep for the iridescence to pop.
colorAstringDefault:
#ff2f7aFirst iridescent color (two-color fallback when stops are cleared)
colorAstringDefault: #ff2f7aFirst iridescent color (two-color fallback when stops are cleared)
colorBstringDefault:
#5fe6ffSecond iridescent color (two-color fallback when stops are cleared)
colorBstringDefault: #5fe6ffSecond iridescent color (two-color fallback when stops are cleared)
stopsobjectDefault:
[{"color":"#ff2f7a","position":0},{"color":"#2a2cff","position":0.3},{"color":"#5fe6ff","position":0.55},{"color":"#a6ffd8","position":0.75},{"color":"#ffb3e6","position":1}]Multi-stop gradient colors (overrides Color A / Color B when set)
stopsobjectDefault: [{"color":"#ff2f7a","position":0},{"color":"#2a2cff","position":0.3},{"color":"#5fe6ff","position":0.55},{"color":"#a6ffd8","position":0.75},{"color":"#ffb3e6","position":1}]Multi-stop gradient colors (overrides Color A / Color B when set)
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
oklabColor space for color interpolation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: oklabColor space for color interpolation
iridescencenumberDefault:
1Strength of the colour on the oblique surfaces — 0 = plain dark glass, above 1 = saturated neon walls
iridescencenumberDefault: 1Strength of the colour on the oblique surfaces — 0 = plain dark glass, above 1 = saturated neon walls
rimWidthnumberDefault:
0.55How far in from edge-on the colour reaches — small keeps it to the steepest walls, large lets it creep across gently turning faces
rimWidthnumberDefault: 0.55How far in from edge-on the colour reaches — small keeps it to the steepest walls, large lets it creep across gently turning faces
rimSoftnessnumberDefault:
0.25Softness of the transition from dark face to coloured wall
rimSoftnessnumberDefault: 0.25Softness of the transition from dark face to coloured wall
flowAnglenumberDefault:
30Direction the gradient flows across the surface, in degrees
flowAnglenumberDefault: 30Direction the gradient flows across the surface, in degrees
flowScalenumberDefault:
1How many times the palette cycles across the shape — higher = tighter colour bands
flowScalenumberDefault: 1How many times the palette cycles across the shape — higher = tighter colour bands
speednumberDefault:
0.5Speed the gradient flows along the walls. 0 pauses.
speednumberDefault: 0.5Speed the gradient flows along the walls. 0 pauses.
glossnumberDefault:
0.35Strength of the studio softboxes reflected in the glass — the pale highlights riding the top edges
glossnumberDefault: 0.35Strength of the studio softboxes reflected in the glass — the pale highlights riding the top edges
envRotationnumberDefault:
0Rotates the reflected studio — spins where the bright reflections fall
envRotationnumberDefault: 0Rotates the reflected studio — spins where the bright reflections fall
bevelWidthnumberDefault:
0.08Width of the edge bevel on flat shapes — the band that turns away from the viewer and catches the colour
bevelWidthnumberDefault: 0.08Width of the edge bevel on flat shapes — the band that turns away from the viewer and catches the colour
bevelShapenumberDefault:
0Bevel profile — 0 = one smooth round fillet, 1 = machined: a steep outer fillet, a chamfer plateau and an inner knee
bevelShapenumberDefault: 0Bevel profile — 0 = one smooth round fillet, 1 = machined: a steep outer fillet, a chamfer plateau and an inner knee
edgeSoftnessnumberDefault:
0.05Softness of the shape boundary edge
edgeSoftnessnumberDefault: 0.05Softness of the shape boundary edge
shapeShapeConfigDefault:
circleSDFShape 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: circleSDFShape 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.