Plastic
Glossy molded plastic with photorealistic studio reflections, driven in a custom shape
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 plastic shape
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the plastic shape
scalenumberDefault:
1Scale of the plastic shape (1 = default size)
scalenumberDefault: 1Scale of the plastic shape (1 = default size)
rotationnumberDefault:
0Rotation of the plastic shape in degrees
rotationnumberDefault: 0Rotation of the plastic shape in degrees
colorAstringDefault:
#f5f5f7Body color at the start of the gradient
colorAstringDefault: #f5f5f7Body color at the start of the gradient
colorBstringDefault:
#d9dadeBody color at the end of the gradient
colorBstringDefault: #d9dadeBody color at the end of the gradient
stopsobjectDefault:
nullMulti-stop gradient colors (overrides Color A / Color B when set)
stopsobjectDefault: nullMulti-stop gradient colors (overrides Color A / Color B when set)
gradientAnglenumberDefault:
90Direction of the body color gradient in degrees
gradientAnglenumberDefault: 90Direction of the body color gradient in degrees
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space for gradient color interpolation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space for gradient color interpolation
thicknessnumberDefault:
0.5Puffiness — how far the rounded bevel reaches inward from the edge before the surface flattens
thicknessnumberDefault: 0.5Puffiness — how far the rounded bevel reaches inward from the edge before the surface flattens
roughnessnumberDefault:
0.12Surface roughness — 0 = polished gloss with crisp mirror reflections, 1 = matte satin
roughnessnumberDefault: 0.12Surface roughness — 0 = polished gloss with crisp mirror reflections, 1 = matte satin
reflectivitynumberDefault:
1Strength of the environment reflections and specular highlights
reflectivitynumberDefault: 1Strength of the environment reflections and specular highlights
crumplenumberDefault:
0.25Surface crumple — irregular dents that break reflections into hard organic shapes, like blown or vacuum-formed plastic
crumplenumberDefault: 0.25Surface crumple — irregular dents that break reflections into hard organic shapes, like blown or vacuum-formed plastic
crumpleScalenumberDefault:
1Size of the crumple dents — higher = smaller, denser dents
crumpleScalenumberDefault: 1Size of the crumple dents — higher = smaller, denser dents
crumpleCoveragenumberDefault:
1How much of the surface is crumpled — 0 = pristine, 0.5 = patches of crumple, 1 = fully crumpled
crumpleCoveragenumberDefault: 1How much of the surface is crumpled — 0 = pristine, 0.5 = patches of crumple, 1 = fully crumpled
seednumberDefault:
0Random seed — re-rolls the crumple pattern for reflection variety
seednumberDefault: 0Random seed — re-rolls the crumple pattern for reflection variety
edgeSoftnessnumberDefault:
0.05Softness of the shape boundary edge
edgeSoftnessnumberDefault: 0.05Softness of the shape boundary edge
lightAnglenumberDefault:
315Direction the studio key light comes from, in degrees
lightAnglenumberDefault: 315Direction the studio key light comes from, in degrees
speednumberDefault:
1Speed of the environment drift — the studio reflections slowly orbit the surface. 0 pauses.
speednumberDefault: 1Speed of the environment drift — the studio reflections slowly orbit the surface. 0 pauses.
shadingnumberDefault:
0.35Diffuse shading contrast — how strongly the body darkens away from the light
shadingnumberDefault: 0.35Diffuse shading contrast — how strongly the body darkens away from the light
rimnumberDefault:
0.25Fresnel rim light intensity on grazing surfaces
rimnumberDefault: 0.25Fresnel rim light intensity on grazing surfaces
rimColorstringDefault:
#ffffffColor of the fresnel rim light
rimColorstringDefault: #ffffffColor of the fresnel rim light
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.