You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,11 +66,12 @@ All available properties are detailed below.
66
66
|`images`| An array of images that will be rendered as the snowflakes instead of the default circle shapes. |`undefined`|
67
67
|`radius`| The minimum and maximum radius of the snowflake in pixels.<br/><br/>The value for each snowflake will be randomly selected within this range. |`[0.5, 3.0]`|
68
68
|`rotationSpeed`| The minimum and maximum rotation speed of the snowflake (in degrees of rotation per frame).<br/><br/>The rotation speed determines how quickly the snowflake rotates when an image is being rendered.<br/><br/>The value for each snowflake will be randomly selected within this range. |`[-1.0, 1.0]`|
69
+
|`enable3DRotation`| Enable 3D rotation effect (like falling leaves).<br/><br/>When enabled, snowflakes will rotate on X, Y, and Z axes, creating a more realistic 3D tumbling effect.<br/><br/>Works with both images and circles. |`false`|
69
70
|`snowflakeCount`| The number of snowflakes to be rendered. |`150`|
70
71
|`speed`| The minimum and maximum speed of the snowflake (in pixels per frame).<br/><br/>The speed determines how quickly the snowflake moves along the y axis (vertical speed).<br/><br/>The value for each snowflake will be randomly selected within this range. |`[1.0, 3.0]`|
71
72
|`style`| Any style properties that will be passed to the canvas element. |`undefined`|
72
73
|`wind`| The minimum and maximum wind of the snowflake (in pixels per frame).<br/><br/>The wind determines how quickly the snowflake moves along the x axis (horizontal speed).<br/><br/>The value for each snowflake will be randomly selected within this range. |`[-0.5, 2.0]`|
73
-
|`opacity`| The minimum and maximum opacity of the snowflake.<br/><br/>The value for each snowflake will be randomly selected within this range. |`[1, 1]`|
74
+
|`opacity`| The minimum and maximum opacity of the snowflake.<br/><br/>The value for each snowflake will be randomly selected within this range. |`[1, 1]`|
0 commit comments