Skip to content
PixiKit

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
NameTypeDefaultDescription
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.
scalenumber1Size of the plant.
densitynumber1How many leaves each branch carries.
depthnumber0.7How much the far branches blur and fade.
softnessnumber1Blur of the shadow edges.
shadowStrengthnumber1Darkness of the shadows.
lightColorstring"auto"Color of the light; "auto" picks a soft violet.
shadowColorstring"auto"Color of the shadows; "auto" picks a muted lavender.
backgroundColorstring"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.
windowAnglenumber28Slant of the window light in degrees.
windowSizenumber0.52Size of the window light.
intensitynumber0.9Brightness of the light.
bloomnumber0.6Soft glow around the lit areas.
windnumber0.6How far the leaves sway.
windSpeednumber1How fast the leaves sway.
cloudsnumber0.25Passing clouds that dim the light now and then.
breezebooleantruePointer movement stirs the plant in the direction of travel; a click sends a gust through it.
grainnumber0.25Film grain strength.
seednumber1Changes the arrangement of the branches.
introbooleantrueOn mount the shadows fade in and settle.
pausedbooleanfalseFreezes the animation.
dprnumber2Upper limit for the device pixel ratio.
refRef<LeafShadeHandle>NoneGives gust(x, y) and replay().
classNamestringNoneClasses for the root element; give it a height.
styleCSSPropertiesNoneInline styles for the root element.
childrenReactNodeNoneContent layered above the effect.

Related