Leaf Shade
Soft shadows of a plant swaying on a wall, as if sunlight fell through its leaves, with an optional window of light.
pixikit.com/docs/effects/leaf-shade
Customize
Preset
Plant
Placement
Scale1.00
Density1.00
Depth0.70
Softness1.00
Shadow strength1.00
Light color
Shadow color
Background color
Window
Window angle28°
Window size0.52
Intensity0.90
Bloom0.60
Wind0.60
Wind speed1.00
Clouds0.25
Breeze
Grain0.25
Seed1
Intro
Paused
Dpr2.0
Props
29| Name | Type | Default | Description |
|---|---|---|---|
preset | "ficus" | "olive" | "palm" | "fern" | "golden-hour" | "sunroom" | "overcast" | "ficus" | A complete scene; the plant, light and motion props follow it until you pass them. |
plant | "ficus" | "olive" | "palm" | "fern" | "ficus" | The foliage that casts the shadows. |
placement | "top-right" | "top-left" | "right" | "left" | "bottom-right" | "bottom-left" | "top-right" | Corner or side the plant grows in from. |
scale | number | 1 | Size of the plant. |
density | number | 1 | How many leaves each branch carries. |
depth | number | 0.7 | How much the far branches blur and fade. |
softness | number | 1 | Blur of the shadow edges. |
shadowStrength | number | 1 | Darkness of the shadows. |
lightColor | string | "auto" | Color of the light; "auto" picks a soft violet. |
shadowColor | string | "auto" | Color of the shadows; "auto" picks a muted lavender. |
backgroundColor | string | "transparent" | Wall color, or "transparent" to show the page. |
window | "auto" | "on" | "off" | "auto" | Adds a slanted patch of window light; auto turns it on over a dark wall. |
windowAngle | number | 28 | Slant of the window light in degrees. |
windowSize | number | 0.52 | Size of the window light. |
intensity | number | 0.9 | Brightness of the light. |
bloom | number | 0.6 | Soft glow around the lit areas. |
wind | number | 0.6 | How far the leaves sway. |
windSpeed | number | 1 | How fast the leaves sway. |
clouds | number | 0.25 | Passing clouds that dim the light now and then. |
breeze | boolean | true | Pointer movement stirs the plant in the direction of travel; a click sends a gust through it. |
grain | number | 0.25 | Film grain strength. |
seed | number | 1 | Changes the arrangement of the branches. |
intro | boolean | true | On mount the shadows fade in and settle. |
paused | boolean | false | Freezes the animation. |
dpr | number | 2 | Upper limit for the device pixel ratio. |
ref | Ref<LeafShadeHandle> | None | Gives gust(x, y) and replay(). |
className | string | None | Classes for the root element; give it a height. |
style | CSSProperties | None | Inline styles for the root element. |
children | ReactNode | None | Content layered above the effect. |