Water
Translucent water — a refractive, light-absorbing body that deepens to its colour with thickness, wrapped in a wind-driven wave surface that reflects a procedural sky, with Fresnel-bright grazing edges and foam breaking on the crests and shoreline
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 water shape
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the water shape
scalenumberDefault:
1Scale of the water shape (1 = default size)
scalenumberDefault: 1Scale of the water shape (1 = default size)
rotationnumberDefault:
0Rotation of the water shape in degrees
rotationnumberDefault: 0Rotation of the water shape in degrees
waterColorstringDefault:
#00bfebThe colour the water saturates toward with depth
waterColorstringDefault: #00bfebThe colour the water saturates toward with depth
claritynumberDefault:
0.4How much of the reflected sky transmits through the body
claritynumberDefault: 0.4How much of the reflected sky transmits through the body
depthnumberDefault:
5How quickly the water darkens and saturates toward its colour with thickness
depthnumberDefault: 5How quickly the water darkens and saturates toward its colour with thickness
shallowsnumberDefault:
0.5Brightness of the thin shallow water at the edges — high fades the rim to light translucent water, low keeps the edges close to the deep water colour
shallowsnumberDefault: 0.5Brightness of the thin shallow water at the edges — high fades the rim to light translucent water, low keeps the edges close to the deep water colour
causticsnumberDefault:
0.15Intensity of the light caustics bubbling up through the body — bright veins of focused light churning inside the water
causticsnumberDefault: 0.15Intensity of the light caustics bubbling up through the body — bright veins of focused light churning inside the water
causticScalenumberDefault:
6Size of the caustic veins — higher = finer, busier light patterns inside the body
causticScalenumberDefault: 6Size of the caustic veins — higher = finer, busier light patterns inside the body
choppinessnumberDefault:
0.8Height of the wind-driven waves — the depth of the folds that bend the reflection
choppinessnumberDefault: 0.8Height of the wind-driven waves — the depth of the folds that bend the reflection
waveScalenumberDefault:
3.5Scale of the wave fronts — higher = smaller, busier ripples
waveScalenumberDefault: 3.5Scale of the wave fronts — higher = smaller, busier ripples
swirlnumberDefault:
0.6Swirl of the flow — domain-warps the wave fronts into curling eddies
swirlnumberDefault: 0.6Swirl of the flow — domain-warps the wave fronts into curling eddies
speednumberDefault:
0.5Speed of the rolling waves. 0 pauses the surface.
speednumberDefault: 0.5Speed of the rolling waves. 0 pauses the surface.
reflectionnumberDefault:
2Strength of the reflected sky across the surface
reflectionnumberDefault: 2Strength of the reflected sky across the surface
envRotationnumberDefault:
0Rotates the reflected sky — spins where the bright sky and sun fall
envRotationnumberDefault: 0Rotates the reflected sky — spins where the bright sky and sun fall
sharpnessnumberDefault:
0.1Tightness of the sun glint and reflected sun
sharpnessnumberDefault: 0.1Tightness of the sun glint and reflected sun
lightAnglenumberDefault:
30Direction of the sun, in degrees — drives the glint and where the sun reflects
lightAnglenumberDefault: 30Direction of the sun, in degrees — drives the glint and where the sun reflects
foamnumberDefault:
0.3White foam breaking on the wave crests and along the shoreline edge
foamnumberDefault: 0.3White foam breaking on the wave crests and along the shoreline edge
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.