reflex-reactbits 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- reflex_reactbits/__init__.py +12 -0
- reflex_reactbits/animations.py +2128 -0
- reflex_reactbits/animations.pyi +2043 -0
- reflex_reactbits/backgrounds.py +3503 -0
- reflex_reactbits/backgrounds.pyi +3149 -0
- reflex_reactbits/base.py +97 -0
- reflex_reactbits/base.pyi +58 -0
- reflex_reactbits/catalog.json +26580 -0
- reflex_reactbits/catalog.py +23 -0
- reflex_reactbits/cli.py +125 -0
- reflex_reactbits/components.py +2383 -0
- reflex_reactbits/components.pyi +2430 -0
- reflex_reactbits/micro.py +2336 -0
- reflex_reactbits/micro.pyi +1858 -0
- reflex_reactbits/py.typed +0 -0
- reflex_reactbits/source.py +236 -0
- reflex_reactbits/text_animations.py +1629 -0
- reflex_reactbits/text_animations.pyi +1671 -0
- reflex_reactbits-0.1.1.dist-info/METADATA +223 -0
- reflex_reactbits-0.1.1.dist-info/RECORD +24 -0
- reflex_reactbits-0.1.1.dist-info/WHEEL +5 -0
- reflex_reactbits-0.1.1.dist-info/entry_points.txt +2 -0
- reflex_reactbits-0.1.1.dist-info/licenses/LICENSE +21 -0
- reflex_reactbits-0.1.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,3503 @@
|
|
|
1
|
+
"""React Bits - Animated backgrounds.
|
|
2
|
+
|
|
3
|
+
AUTO-GENERATED by scripts/generate_wrappers.py - do not edit by hand.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
# ruff: noqa: E501
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from typing import Any, Literal
|
|
10
|
+
|
|
11
|
+
import reflex as rx
|
|
12
|
+
from reflex_base.components.component import field
|
|
13
|
+
import json
|
|
14
|
+
|
|
15
|
+
from reflex.utils.imports import ImportVar
|
|
16
|
+
from reflex.vars.base import VarData
|
|
17
|
+
|
|
18
|
+
from .source import ASSETS_SUBDIR, ensure_component_source
|
|
19
|
+
|
|
20
|
+
from .base import ReactBitsComponent, safe
|
|
21
|
+
|
|
22
|
+
__all__ = ['AcidSquares', 'AeroShards', 'Aurora', 'Balatro', 'Ballpit', 'Beams', 'CRTWarp', 'ColorBends', 'DarkVeil', 'Dither', 'DotField', 'DotGrid', 'EvilEye', 'FaultyTerminal', 'Ferrofluid', 'FloatingLines', 'Galaxy', 'GhostFibers', 'GradientBlinds', 'GradientWaves', 'Grainient', 'GridDistortion', 'GridMotion', 'GridScan', 'Hyperspeed', 'Iridescence', 'LetterGlitch', 'LightPillar', 'LightRays', 'LightTunnel', 'Lightfall', 'Lightning', 'LineWaves', 'LiquidChrome', 'LiquidEther', 'MoltenMetal', 'Orb', 'Particles', 'PixelBlast', 'PixelSnow', 'Plasma', 'PlasmaWave', 'Prism', 'PrismaticBurst', 'Radar', 'RippleGrid', 'Scanner', 'ShapeGrid', 'ShapeWaves', 'SideRays', 'Silk', 'SlicedWaves', 'SoftAurora', 'Threads', 'Topography', 'Waves', 'WebThreads', 'acid_squares', 'aero_shards', 'aurora', 'balatro', 'ballpit', 'beams', 'color_bends', 'crt_warp', 'dark_veil', 'dither', 'dot_field', 'dot_grid', 'evil_eye', 'faulty_terminal', 'ferrofluid', 'floating_lines', 'galaxy', 'ghost_fibers', 'gradient_blinds', 'gradient_waves', 'grainient', 'grid_distortion', 'grid_motion', 'grid_scan', 'hyperspeed', 'iridescence', 'letter_glitch', 'light_pillar', 'light_rays', 'light_tunnel', 'lightfall', 'lightning', 'line_waves', 'liquid_chrome', 'liquid_ether', 'molten_metal', 'orb', 'particles', 'pixel_blast', 'pixel_snow', 'plasma', 'plasma_wave', 'prism', 'prismatic_burst', 'radar', 'ripple_grid', 'scanner', 'shape_grid', 'shape_waves', 'side_rays', 'silk', 'sliced_waves', 'soft_aurora', 'threads', 'topography', 'waves', 'web_threads']
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class AcidSquares(ReactBitsComponent):
|
|
26
|
+
"""A crystalline corridor of stacked squares receding into depth.
|
|
27
|
+
|
|
28
|
+
Docs: https://reactbits.dev/backgrounds/acid-squares
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
tag = "AcidSquares"
|
|
32
|
+
alias = "ReactBitsAcidSquares"
|
|
33
|
+
is_default = True
|
|
34
|
+
_rb_category = "Backgrounds"
|
|
35
|
+
_rb_name = "AcidSquares"
|
|
36
|
+
_rb_files = ('AcidSquares.css', 'AcidSquares.jsx')
|
|
37
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
38
|
+
|
|
39
|
+
color1: rx.Var[str] = field(
|
|
40
|
+
doc="Violet core color used for the dim depths of the corridor. Default: '#5227FF'."
|
|
41
|
+
)
|
|
42
|
+
color2: rx.Var[str] = field(
|
|
43
|
+
doc="Pink mid-tone color used for the glowing crystal faces. Default: '#A855F7'."
|
|
44
|
+
)
|
|
45
|
+
color3: rx.Var[str] = field(
|
|
46
|
+
doc="White highlight color used for the hottest edges. Default: '#FFFFFF'."
|
|
47
|
+
)
|
|
48
|
+
detail: rx.Var[Literal["low", "medium", "high"]] = field(
|
|
49
|
+
doc="Raymarch quality tier (20 / 32 / 48 steps). Higher looks richer but costs more. Default: 'medium'."
|
|
50
|
+
)
|
|
51
|
+
speed: rx.Var[int | float] = field(
|
|
52
|
+
doc="Speed of the forward drift through the lattice. Default: 0.7."
|
|
53
|
+
)
|
|
54
|
+
wave_depth: rx.Var[int | float] = field(
|
|
55
|
+
doc="How far the view gently drifts in and back out as the corridor breathes. 0 holds it still. Default: 1."
|
|
56
|
+
)
|
|
57
|
+
zoom: rx.Var[int | float] = field(
|
|
58
|
+
doc="Field of view into the corridor. Higher zooms in. Default: 1.3."
|
|
59
|
+
)
|
|
60
|
+
density: rx.Var[int | float] = field(
|
|
61
|
+
doc="How tightly the boxes of the lattice are packed. Default: 10.0."
|
|
62
|
+
)
|
|
63
|
+
glow: rx.Var[int | float] = field(
|
|
64
|
+
doc="Gain applied to the accumulated light along each ray. Default: 1.0."
|
|
65
|
+
)
|
|
66
|
+
exposure: rx.Var[int | float] = field(
|
|
67
|
+
doc="Tone-mapping exposure. Higher values darken the render. Default: 2700."
|
|
68
|
+
)
|
|
69
|
+
spread: rx.Var[int | float] = field(
|
|
70
|
+
doc="Controls how the ray step grows each iteration; strongly shapes the look. Default: 0.3."
|
|
71
|
+
)
|
|
72
|
+
step_size: rx.Var[int | float] = field(
|
|
73
|
+
doc="Minimum ray step. Larger values thin out the glow. Default: 0.002."
|
|
74
|
+
)
|
|
75
|
+
color_shift: rx.Var[int | float] = field(
|
|
76
|
+
doc="Rate of the gentle brightness shimmer cycling over time. Default: 0."
|
|
77
|
+
)
|
|
78
|
+
contrast: rx.Var[int | float] = field(
|
|
79
|
+
doc="Contrast applied around the mid-tones of the final image. Default: 1."
|
|
80
|
+
)
|
|
81
|
+
brightness: rx.Var[int | float] = field(
|
|
82
|
+
doc="Overall brightness multiplier before tone mapping. Default: 1.0."
|
|
83
|
+
)
|
|
84
|
+
opacity: rx.Var[int | float] = field(
|
|
85
|
+
doc="Overall opacity of the effect over the transparent background. Default: 1.0."
|
|
86
|
+
)
|
|
87
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
88
|
+
doc="Enables a soft depression that sinks the lattice downward around the pointer. Default: true."
|
|
89
|
+
)
|
|
90
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
91
|
+
doc="How deeply the cursor presses the lattice down inside the affected area. Default: 0.1."
|
|
92
|
+
)
|
|
93
|
+
mouse_radius: rx.Var[int | float] = field(
|
|
94
|
+
doc="Size of the area around the pointer that collapses, as a fraction of the view height. Default: 0.35."
|
|
95
|
+
)
|
|
96
|
+
blur: rx.Var[int | float] = field(
|
|
97
|
+
doc="Softens the whole effect with a post-process Gaussian blur. 0 is crisp; 1 is a soft haze. Default: 0."
|
|
98
|
+
)
|
|
99
|
+
grain: rx.Var[bool] = field(
|
|
100
|
+
doc="Adds a faint animated film grain over the final image for a subtle analog texture. Default: true."
|
|
101
|
+
)
|
|
102
|
+
grain_intensity: rx.Var[int | float] = field(
|
|
103
|
+
doc="Amplitude of the grain overlay. 0 disables it entirely. Default: 0.05."
|
|
104
|
+
)
|
|
105
|
+
light_mode: rx.Var[bool] = field(
|
|
106
|
+
doc="The `lightMode` prop. Default: false."
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class AeroShards(ReactBitsComponent):
|
|
111
|
+
"""A GPU-driven wind sculpture of folded foil shards with crisp detail, content-safe placements, and responsive pointer interactions.
|
|
112
|
+
|
|
113
|
+
Docs: https://reactbits.dev/backgrounds/aero-shards
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
tag = "AeroShards"
|
|
117
|
+
alias = "ReactBitsAeroShards"
|
|
118
|
+
is_default = True
|
|
119
|
+
_rb_category = "Backgrounds"
|
|
120
|
+
_rb_name = "AeroShards"
|
|
121
|
+
_rb_files = ('AeroShards.css', 'AeroShards.jsx')
|
|
122
|
+
lib_dependencies: list[str] = ['vgpu@0.3.1']
|
|
123
|
+
|
|
124
|
+
background_color: rx.Var[str] = field(
|
|
125
|
+
doc="Background behind the wind sculpture. Lighting and bloom adapt automatically to light surfaces. Default: '#120F17'."
|
|
126
|
+
)
|
|
127
|
+
shard_color: rx.Var[str] = field(
|
|
128
|
+
doc="Primary body color for the shards. Default: '#896ABD'."
|
|
129
|
+
)
|
|
130
|
+
accent_color: rx.Var[str] = field(
|
|
131
|
+
doc="Accent color used to derive reflections, depth, and highlights. Default: '#A855F7'."
|
|
132
|
+
)
|
|
133
|
+
placement: rx.Var[Literal["right", "left", "center", "full"]] = field(
|
|
134
|
+
doc="Places the sculpture while preserving a content-safe region. Default: 'full'."
|
|
135
|
+
)
|
|
136
|
+
flow: rx.Var[Literal["stream", "vortex", "ribbon"]] = field(
|
|
137
|
+
doc="Morphs the same shards between a flowing stream, circulating vortex, and twisted ribbon without restarting the animation. Default: 'stream'."
|
|
138
|
+
)
|
|
139
|
+
material: rx.Var[Literal["pearl", "chrome", "satin"]] = field(
|
|
140
|
+
doc="Applies a complete lighting and surface finish. Default: 'pearl'."
|
|
141
|
+
)
|
|
142
|
+
detail: rx.Var[Literal["bold", "balanced", "fine"]] = field(
|
|
143
|
+
doc="Balances shard count and size into a finished visual texture. Default: 'balanced'."
|
|
144
|
+
)
|
|
145
|
+
effect: rx.Var[Literal["none", "dither", "ascii"]] = field(
|
|
146
|
+
doc="Applies ordered color dithering or compact, shape-matched ASCII before postprocessing. Stylized modes use fewer, larger shards for readability; none preserves the original render. Default: 'none'."
|
|
147
|
+
)
|
|
148
|
+
scale: rx.Var[int | float] = field(
|
|
149
|
+
doc="Zooms the complete shard field without changing its shard count or individual shard size. Default: 1."
|
|
150
|
+
)
|
|
151
|
+
spread: rx.Var[int | float] = field(
|
|
152
|
+
doc="Controls how tightly the shards gather around the flow path. Default: 1."
|
|
153
|
+
)
|
|
154
|
+
depth: rx.Var[int | float] = field(
|
|
155
|
+
doc="Controls front-to-back volume and perspective variation. Default: 1."
|
|
156
|
+
)
|
|
157
|
+
speed: rx.Var[int | float] = field(
|
|
158
|
+
doc="Controls the shared travel speed of every shard. Default: 1."
|
|
159
|
+
)
|
|
160
|
+
spin: rx.Var[int | float] = field(
|
|
161
|
+
doc="Controls how quickly shards roll around their direction of travel. Default: 1."
|
|
162
|
+
)
|
|
163
|
+
interaction: rx.Var[Literal["none", "repel", "attract"]] = field(
|
|
164
|
+
doc="Disables interaction or enables damped cursor repulsion/attraction and click ripples across the field. Default: 'repel'."
|
|
165
|
+
)
|
|
166
|
+
density: rx.Var[int | float] = field(
|
|
167
|
+
doc="Fine-tuning multiplier for the shard count selected by detail. Default: 1.5."
|
|
168
|
+
)
|
|
169
|
+
shard_size: rx.Var[int | float] = field(
|
|
170
|
+
doc="Fine-tuning multiplier for the shard size selected by detail. Default: 1.1."
|
|
171
|
+
)
|
|
172
|
+
stretch: rx.Var[int | float] = field(
|
|
173
|
+
doc="Controls shard length without changing their overall count. Default: 1."
|
|
174
|
+
)
|
|
175
|
+
turbulence: rx.Var[int | float] = field(
|
|
176
|
+
doc="Fine-tuning multiplier for the turbulence produced by motion. Default: 1."
|
|
177
|
+
)
|
|
178
|
+
glow: rx.Var[int | float] = field(
|
|
179
|
+
doc="Fine-tuning multiplier for emissive edges and reflected highlights. Default: 1."
|
|
180
|
+
)
|
|
181
|
+
edge_softness: rx.Var[int | float] = field(
|
|
182
|
+
doc="Controls analytic antialiasing without blurring the whole image. Default: 2."
|
|
183
|
+
)
|
|
184
|
+
bloom: rx.Var[int | float] = field(
|
|
185
|
+
doc="Adds a soft halo without blurring the shards; on light backgrounds the halo uses the shard and accent colors. Default: 0.5."
|
|
186
|
+
)
|
|
187
|
+
grain: rx.Var[int | float] = field(
|
|
188
|
+
doc="Adds screen-space film grain; set to 0 for a completely clean render. Default: 0.05."
|
|
189
|
+
)
|
|
190
|
+
chromatic_aberration: rx.Var[int | float] = field(
|
|
191
|
+
doc="Adds RGB edge separation; set to 0 for a color-neutral finish. Dither and ASCII use subtler separation to preserve their fine patterns. Default: 0.0075."
|
|
192
|
+
)
|
|
193
|
+
transition_duration: rx.Var[int | float] = field(
|
|
194
|
+
doc="Controls the transition time for placement and flow formation changes. Default: 1."
|
|
195
|
+
)
|
|
196
|
+
interaction_radius: rx.Var[int | float] = field(
|
|
197
|
+
doc="Scales the soft, flow-aligned reach of the cursor interaction. Default: 1.5."
|
|
198
|
+
)
|
|
199
|
+
interaction_strength: rx.Var[int | float] = field(
|
|
200
|
+
doc="Fine-tuning multiplier for the selected interaction force. Default: 0.5."
|
|
201
|
+
)
|
|
202
|
+
ripple_intensity: rx.Var[int | float] = field(
|
|
203
|
+
doc="Strength of the click/release wave and its accent-colored illumination. Set to 0 to disable ripples. Default: 1."
|
|
204
|
+
)
|
|
205
|
+
hold_to_gather: rx.Var[bool] = field(
|
|
206
|
+
doc="Press and hold to gather a softly circulating cloud around the cursor; release to unfurl. Respects interaction=\"none\", pause, and reduced motion. Default: true."
|
|
207
|
+
)
|
|
208
|
+
paused: rx.Var[bool] = field(
|
|
209
|
+
doc="Freezes the shard field. Default: false."
|
|
210
|
+
)
|
|
211
|
+
on_error: rx.EventHandler[lambda error: [safe(error)]] = field(
|
|
212
|
+
doc="Called when WebGPU setup or rendering fails. Handler receives: error."
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
class Aurora(ReactBitsComponent):
|
|
217
|
+
"""Flowing aurora gradient background.
|
|
218
|
+
|
|
219
|
+
Docs: https://reactbits.dev/backgrounds/aurora
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
tag = "Aurora"
|
|
223
|
+
alias = "ReactBitsAurora"
|
|
224
|
+
is_default = True
|
|
225
|
+
_rb_category = "Backgrounds"
|
|
226
|
+
_rb_name = "Aurora"
|
|
227
|
+
_rb_files = ('Aurora.css', 'Aurora.jsx')
|
|
228
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
229
|
+
|
|
230
|
+
color_stops: rx.Var[list[str]] = field(
|
|
231
|
+
doc="An array of three hex colors defining the aurora gradient. Default: ['#5227FF', '#7cff67', '#5227FF']."
|
|
232
|
+
)
|
|
233
|
+
amplitude: rx.Var[int | float] = field(
|
|
234
|
+
doc="Controls the height intensity of the aurora effect. Default: 1.0."
|
|
235
|
+
)
|
|
236
|
+
blend: rx.Var[int | float] = field(
|
|
237
|
+
doc="Controls the blending of the aurora effect with the background. Default: 0.5."
|
|
238
|
+
)
|
|
239
|
+
light_mode: rx.Var[bool] = field(
|
|
240
|
+
doc="The `lightMode` prop. Default: false."
|
|
241
|
+
)
|
|
242
|
+
speed: rx.Var[int | float] = field(
|
|
243
|
+
doc="Controls the animation speed. Higher values make the aurora move faster. Default: 1.0."
|
|
244
|
+
)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
class Balatro(ReactBitsComponent):
|
|
248
|
+
"""The balatro shader, fully customizalbe and interactive.
|
|
249
|
+
|
|
250
|
+
Docs: https://reactbits.dev/backgrounds/balatro
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
tag = "Balatro"
|
|
254
|
+
alias = "ReactBitsBalatro"
|
|
255
|
+
is_default = True
|
|
256
|
+
_rb_category = "Backgrounds"
|
|
257
|
+
_rb_name = "Balatro"
|
|
258
|
+
_rb_files = ('Balatro.css', 'Balatro.jsx')
|
|
259
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
260
|
+
|
|
261
|
+
spin_rotation: rx.Var[int | float] = field(
|
|
262
|
+
doc="Base rotation amount affecting the shader effect. Default: -2.0."
|
|
263
|
+
)
|
|
264
|
+
spin_speed: rx.Var[int | float] = field(
|
|
265
|
+
doc="Speed of the spin animation. Default: 7.0."
|
|
266
|
+
)
|
|
267
|
+
offset: rx.Var[list[int | float]] = field(
|
|
268
|
+
doc="Offset for the shader effect. Default: [0.0, 0.0]."
|
|
269
|
+
)
|
|
270
|
+
color1: rx.Var[str] = field(
|
|
271
|
+
doc="Primary color in HEX format. Default: '#DE443B'."
|
|
272
|
+
)
|
|
273
|
+
color2: rx.Var[str] = field(
|
|
274
|
+
doc="Secondary color in HEX format. Default: '#006BB4'."
|
|
275
|
+
)
|
|
276
|
+
color3: rx.Var[str] = field(
|
|
277
|
+
doc="Tertiary color in HEX format. Default: '#162325'."
|
|
278
|
+
)
|
|
279
|
+
contrast: rx.Var[int | float] = field(
|
|
280
|
+
doc="Contrast value affecting color blending. Default: 3.5."
|
|
281
|
+
)
|
|
282
|
+
lighting: rx.Var[int | float] = field(
|
|
283
|
+
doc="Lighting factor affecting brightness. Default: 0.4."
|
|
284
|
+
)
|
|
285
|
+
spin_amount: rx.Var[int | float] = field(
|
|
286
|
+
doc="Amount of spin influence based on UV length. Default: 0.25."
|
|
287
|
+
)
|
|
288
|
+
pixel_filter: rx.Var[int | float] = field(
|
|
289
|
+
doc="Pixel filter factor determining pixelation. Default: 745.0."
|
|
290
|
+
)
|
|
291
|
+
spin_ease: rx.Var[int | float] = field(
|
|
292
|
+
doc="Ease factor for spin. Default: 1.0."
|
|
293
|
+
)
|
|
294
|
+
is_rotate: rx.Var[bool] = field(
|
|
295
|
+
doc="Determines if the shader rotates continuously. Default: false."
|
|
296
|
+
)
|
|
297
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
298
|
+
doc="Enables or disables mouse interaction for rotation. Default: true."
|
|
299
|
+
)
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
class Ballpit(ReactBitsComponent):
|
|
303
|
+
"""Physics ball pit simulation with bouncing colorful spheres.
|
|
304
|
+
|
|
305
|
+
Docs: https://reactbits.dev/backgrounds/ballpit
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
tag = "Ballpit"
|
|
309
|
+
alias = "ReactBitsBallpit"
|
|
310
|
+
is_default = True
|
|
311
|
+
_rb_category = "Backgrounds"
|
|
312
|
+
_rb_name = "Ballpit"
|
|
313
|
+
_rb_files = ('Ballpit.jsx',)
|
|
314
|
+
lib_dependencies: list[str] = ['three@0.180.0']
|
|
315
|
+
|
|
316
|
+
follow_cursor: rx.Var[bool] = field(
|
|
317
|
+
doc="Enables or disables the sphere following the cursor. Default: true."
|
|
318
|
+
)
|
|
319
|
+
count: rx.Var[int | float] = field(
|
|
320
|
+
doc="Sets the number of balls in the ballpit. Default: 200."
|
|
321
|
+
)
|
|
322
|
+
gravity: rx.Var[int | float] = field(
|
|
323
|
+
doc="Controls the gravity affecting the balls. Default: 0.5."
|
|
324
|
+
)
|
|
325
|
+
friction: rx.Var[int | float] = field(
|
|
326
|
+
doc="Sets the friction applied to the ball movement. Default: 0.9975."
|
|
327
|
+
)
|
|
328
|
+
wall_bounce: rx.Var[int | float] = field(
|
|
329
|
+
doc="Determines how much balls bounce off walls. Default: 0.95."
|
|
330
|
+
)
|
|
331
|
+
colors: rx.Var[list[Any]] = field(
|
|
332
|
+
doc="Defines the colors of the balls. Default: [0, 0, 0]."
|
|
333
|
+
)
|
|
334
|
+
ambient_color: rx.Var[int | float] = field(
|
|
335
|
+
doc="Sets the ambient light color. Default: 16777215."
|
|
336
|
+
)
|
|
337
|
+
ambient_intensity: rx.Var[int | float] = field(
|
|
338
|
+
doc="Controls the intensity of ambient light. Default: 1."
|
|
339
|
+
)
|
|
340
|
+
light_intensity: rx.Var[int | float] = field(
|
|
341
|
+
doc="Sets the intensity of the main light source. Default: 200."
|
|
342
|
+
)
|
|
343
|
+
min_size: rx.Var[int | float] = field(
|
|
344
|
+
doc="Specifies the minimum size of the balls. Default: 0.5."
|
|
345
|
+
)
|
|
346
|
+
max_size: rx.Var[int | float] = field(
|
|
347
|
+
doc="Specifies the maximum size of the balls. Default: 1."
|
|
348
|
+
)
|
|
349
|
+
size0: rx.Var[int | float] = field(
|
|
350
|
+
doc="Initial size value for the cursor ball. Default: 1."
|
|
351
|
+
)
|
|
352
|
+
max_velocity: rx.Var[int | float] = field(
|
|
353
|
+
doc="Limits the maximum velocity of the balls. Default: 0.15."
|
|
354
|
+
)
|
|
355
|
+
max_x: rx.Var[int | float] = field(
|
|
356
|
+
doc="Defines the maximum X-coordinate boundary. Default: 5."
|
|
357
|
+
)
|
|
358
|
+
max_y: rx.Var[int | float] = field(
|
|
359
|
+
doc="Defines the maximum Y-coordinate boundary. Default: 5."
|
|
360
|
+
)
|
|
361
|
+
max_z: rx.Var[int | float] = field(
|
|
362
|
+
doc="Defines the maximum Z-coordinate boundary. Default: 2."
|
|
363
|
+
)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
class Beams(ReactBitsComponent):
|
|
367
|
+
"""Crossing animated ribbons with customizable properties.
|
|
368
|
+
|
|
369
|
+
Docs: https://reactbits.dev/backgrounds/beams
|
|
370
|
+
"""
|
|
371
|
+
|
|
372
|
+
tag = "Beams"
|
|
373
|
+
alias = "ReactBitsBeams"
|
|
374
|
+
is_default = True
|
|
375
|
+
_rb_category = "Backgrounds"
|
|
376
|
+
_rb_name = "Beams"
|
|
377
|
+
_rb_files = ('Beams.css', 'Beams.jsx')
|
|
378
|
+
lib_dependencies: list[str] = ['@react-three/drei@10.7.6', '@react-three/fiber@9.3.0', 'three@0.180.0']
|
|
379
|
+
|
|
380
|
+
beam_width: rx.Var[int | float] = field(
|
|
381
|
+
doc="Width of each beam. Default: 2."
|
|
382
|
+
)
|
|
383
|
+
beam_height: rx.Var[int | float] = field(
|
|
384
|
+
doc="Height of each beam. Default: 15."
|
|
385
|
+
)
|
|
386
|
+
beam_number: rx.Var[int | float] = field(
|
|
387
|
+
doc="Number of beams to display. Default: 12."
|
|
388
|
+
)
|
|
389
|
+
light_color: rx.Var[str] = field(
|
|
390
|
+
doc="Color of the directional light. Default: '#ffffff'."
|
|
391
|
+
)
|
|
392
|
+
beam_color: rx.Var[str] = field(
|
|
393
|
+
doc="Base material color of the beams. Default: '#000000'."
|
|
394
|
+
)
|
|
395
|
+
background_color: rx.Var[str] = field(
|
|
396
|
+
doc="Canvas background color. Default: '#000000'."
|
|
397
|
+
)
|
|
398
|
+
speed: rx.Var[int | float] = field(
|
|
399
|
+
doc="Speed of the animation. Default: 2."
|
|
400
|
+
)
|
|
401
|
+
noise_intensity: rx.Var[int | float] = field(
|
|
402
|
+
doc="Intensity of the noise effect overlay. Default: 1.75."
|
|
403
|
+
)
|
|
404
|
+
scale: rx.Var[int | float] = field(
|
|
405
|
+
doc="Scale of the noise pattern. Default: 0.2."
|
|
406
|
+
)
|
|
407
|
+
rotation: rx.Var[int | float] = field(
|
|
408
|
+
doc="Rotation of the entire beams system in degrees. Default: 0."
|
|
409
|
+
)
|
|
410
|
+
light_mode: rx.Var[bool] = field(
|
|
411
|
+
doc="The `lightMode` prop. Default: false."
|
|
412
|
+
)
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
class CRTWarp(ReactBitsComponent):
|
|
416
|
+
"""Full-canvas CRT plasma with curved distortion, scanlines, bloom and pointer interaction.
|
|
417
|
+
|
|
418
|
+
Docs: https://reactbits.dev/backgrounds/crt-warp
|
|
419
|
+
"""
|
|
420
|
+
|
|
421
|
+
tag = "CRTWarp"
|
|
422
|
+
alias = "ReactBitsCRTWarp"
|
|
423
|
+
is_default = True
|
|
424
|
+
_rb_category = "Backgrounds"
|
|
425
|
+
_rb_name = "CRTWarp"
|
|
426
|
+
_rb_files = ('CRTWarp.css', 'CRTWarp.jsx')
|
|
427
|
+
lib_dependencies: list[str] = ['three@0.180.0']
|
|
428
|
+
|
|
429
|
+
color: rx.Var[str] = field(
|
|
430
|
+
doc="Main phosphor color. Default: '#c755f7'."
|
|
431
|
+
)
|
|
432
|
+
background_color: rx.Var[str] = field(
|
|
433
|
+
doc="Canvas background color. Default: '#05010a'."
|
|
434
|
+
)
|
|
435
|
+
speed: rx.Var[int | float] = field(
|
|
436
|
+
doc="Animation speed. Default: 0.5."
|
|
437
|
+
)
|
|
438
|
+
curvature: rx.Var[int | float] = field(
|
|
439
|
+
doc="Strength of the CRT barrel distortion. Default: 0.25."
|
|
440
|
+
)
|
|
441
|
+
scanline_strength: rx.Var[int | float] = field(
|
|
442
|
+
doc="Visibility of the horizontal scanlines. Default: 0.25."
|
|
443
|
+
)
|
|
444
|
+
scanline_frequency: rx.Var[int | float] = field(
|
|
445
|
+
doc="Number of scanline bands across the canvas. Default: 200."
|
|
446
|
+
)
|
|
447
|
+
wave_amplitude: rx.Var[int | float] = field(
|
|
448
|
+
doc="Amount of fluid displacement. Default: 0.3."
|
|
449
|
+
)
|
|
450
|
+
wave_frequency: rx.Var[int | float] = field(
|
|
451
|
+
doc="Density of the plasma waves. Default: 2.5."
|
|
452
|
+
)
|
|
453
|
+
bloom: rx.Var[int | float] = field(
|
|
454
|
+
doc="Intensity of the soft phosphor glow. Default: 1.5."
|
|
455
|
+
)
|
|
456
|
+
bloom_radius: rx.Var[int | float] = field(
|
|
457
|
+
doc="Spread of the glow sampling. Default: 1."
|
|
458
|
+
)
|
|
459
|
+
noise: rx.Var[int | float] = field(
|
|
460
|
+
doc="Fine analog grain amount. Default: 0.1."
|
|
461
|
+
)
|
|
462
|
+
vignette: rx.Var[int | float] = field(
|
|
463
|
+
doc="Edge darkening strength. Default: 0."
|
|
464
|
+
)
|
|
465
|
+
brightness: rx.Var[int | float] = field(
|
|
466
|
+
doc="Overall output brightness. Default: 1.25."
|
|
467
|
+
)
|
|
468
|
+
pixelation: rx.Var[int | float] = field(
|
|
469
|
+
doc="Pixel block size; 1 keeps the image smooth. Default: 1."
|
|
470
|
+
)
|
|
471
|
+
rgb_shift: rx.Var[int | float] = field(
|
|
472
|
+
doc="Horizontal phosphor-channel separation. Default: 0.015."
|
|
473
|
+
)
|
|
474
|
+
mouse_react: rx.Var[bool] = field(
|
|
475
|
+
doc="Lets the pointer bend the signal. Default: true."
|
|
476
|
+
)
|
|
477
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
478
|
+
doc="Strength of the pointer distortion. Default: 0.5."
|
|
479
|
+
)
|
|
480
|
+
dpr: rx.Var[int | float] = field(
|
|
481
|
+
doc="Maximum device pixel ratio used by the renderer. Default: 1."
|
|
482
|
+
)
|
|
483
|
+
fps: rx.Var[int | float] = field(
|
|
484
|
+
doc="Maximum render frame rate. Default: 30."
|
|
485
|
+
)
|
|
486
|
+
paused: rx.Var[bool] = field(
|
|
487
|
+
doc="Freezes the animation when true. Default: false."
|
|
488
|
+
)
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
class ColorBends(ReactBitsComponent):
|
|
492
|
+
"""Vibrant color bends with smooth flowing animation.
|
|
493
|
+
|
|
494
|
+
Docs: https://reactbits.dev/backgrounds/color-bends
|
|
495
|
+
"""
|
|
496
|
+
|
|
497
|
+
tag = "ColorBends"
|
|
498
|
+
alias = "ReactBitsColorBends"
|
|
499
|
+
is_default = True
|
|
500
|
+
_rb_category = "Backgrounds"
|
|
501
|
+
_rb_name = "ColorBends"
|
|
502
|
+
_rb_files = ('ColorBends.css', 'ColorBends.jsx')
|
|
503
|
+
lib_dependencies: list[str] = ['three@0.180.0']
|
|
504
|
+
|
|
505
|
+
rotation: rx.Var[int | float] = field(
|
|
506
|
+
doc="Base rotation angle in degrees. Default: 90."
|
|
507
|
+
)
|
|
508
|
+
speed: rx.Var[int | float] = field(
|
|
509
|
+
doc="Animation time scale of the shader. Default: 0.2."
|
|
510
|
+
)
|
|
511
|
+
colors: rx.Var[list[str]] = field(
|
|
512
|
+
doc="Palette of up to 8 hex colors used to blend the bends. Default: []."
|
|
513
|
+
)
|
|
514
|
+
transparent: rx.Var[bool] = field(
|
|
515
|
+
doc="Whether the background is transparent (uses alpha). Default: true."
|
|
516
|
+
)
|
|
517
|
+
auto_rotate: rx.Var[int | float] = field(
|
|
518
|
+
doc="Automatic rotation speed in degrees/sec. Default: 0."
|
|
519
|
+
)
|
|
520
|
+
scale: rx.Var[int | float] = field(
|
|
521
|
+
doc="Zoom factor of the pattern. Default: 1."
|
|
522
|
+
)
|
|
523
|
+
frequency: rx.Var[int | float] = field(
|
|
524
|
+
doc="Wave frequency used in the pattern. Default: 1."
|
|
525
|
+
)
|
|
526
|
+
warp_strength: rx.Var[int | float] = field(
|
|
527
|
+
doc="Amount of warping/distortion applied to waves. Default: 1."
|
|
528
|
+
)
|
|
529
|
+
mouse_influence: rx.Var[int | float] = field(
|
|
530
|
+
doc="How strongly the waves react to pointer movement. Default: 1."
|
|
531
|
+
)
|
|
532
|
+
parallax: rx.Var[int | float] = field(
|
|
533
|
+
doc="Parallax factor shifting content with pointer. Default: 0.5."
|
|
534
|
+
)
|
|
535
|
+
noise: rx.Var[int | float] = field(
|
|
536
|
+
doc="Adds subtle grain. 0 disables noise. Default: 0.15."
|
|
537
|
+
)
|
|
538
|
+
iterations: rx.Var[int | float] = field(
|
|
539
|
+
doc="Number of extra warp passes (1-5). Higher values create more complex patterns. Default: 1."
|
|
540
|
+
)
|
|
541
|
+
intensity: rx.Var[int | float] = field(
|
|
542
|
+
doc="Brightness multiplier for the final color output. Default: 1.5."
|
|
543
|
+
)
|
|
544
|
+
band_width: rx.Var[int | float] = field(
|
|
545
|
+
doc="Controls the width/falloff of each color band. Default: 6."
|
|
546
|
+
)
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
class DarkVeil(ReactBitsComponent):
|
|
550
|
+
"""Subtle dark background with a smooth animation and postprocessing.
|
|
551
|
+
|
|
552
|
+
Docs: https://reactbits.dev/backgrounds/dark-veil
|
|
553
|
+
"""
|
|
554
|
+
|
|
555
|
+
tag = "DarkVeil"
|
|
556
|
+
alias = "ReactBitsDarkVeil"
|
|
557
|
+
is_default = True
|
|
558
|
+
_rb_category = "Backgrounds"
|
|
559
|
+
_rb_name = "DarkVeil"
|
|
560
|
+
_rb_files = ('DarkVeil.css', 'DarkVeil.jsx')
|
|
561
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
562
|
+
|
|
563
|
+
hue_shift: rx.Var[int | float] = field(
|
|
564
|
+
doc="Shifts the hue of the entire animation. Default: 0."
|
|
565
|
+
)
|
|
566
|
+
noise_intensity: rx.Var[int | float] = field(
|
|
567
|
+
doc="Intensity of the noise/grain effect. Default: 0."
|
|
568
|
+
)
|
|
569
|
+
scanline_intensity: rx.Var[int | float] = field(
|
|
570
|
+
doc="Intensity of the scanline effect. Default: 0."
|
|
571
|
+
)
|
|
572
|
+
speed: rx.Var[int | float] = field(
|
|
573
|
+
doc="Speed of the animation. Default: 0.5."
|
|
574
|
+
)
|
|
575
|
+
scanline_frequency: rx.Var[int | float] = field(
|
|
576
|
+
doc="Frequency of the scanlines. Default: 0."
|
|
577
|
+
)
|
|
578
|
+
warp_amount: rx.Var[int | float] = field(
|
|
579
|
+
doc="Amount of warp distortion applied to the effect. Default: 0."
|
|
580
|
+
)
|
|
581
|
+
resolution_scale: rx.Var[int | float] = field(
|
|
582
|
+
doc="Scale factor for the resolution. Default: 1."
|
|
583
|
+
)
|
|
584
|
+
light_mode: rx.Var[bool] = field(
|
|
585
|
+
doc="The `lightMode` prop. Default: false."
|
|
586
|
+
)
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
class Dither(ReactBitsComponent):
|
|
590
|
+
"""Retro dithered noise shader background.
|
|
591
|
+
|
|
592
|
+
Docs: https://reactbits.dev/backgrounds/dither
|
|
593
|
+
"""
|
|
594
|
+
|
|
595
|
+
tag = "Dither"
|
|
596
|
+
alias = "ReactBitsDither"
|
|
597
|
+
is_default = True
|
|
598
|
+
_rb_category = "Backgrounds"
|
|
599
|
+
_rb_name = "Dither"
|
|
600
|
+
_rb_files = ('Dither.css', 'Dither.jsx')
|
|
601
|
+
lib_dependencies: list[str] = ['@react-three/fiber@9.3.0', '@react-three/postprocessing@3.0.4', 'postprocessing@6.37.8', 'three@0.180.0']
|
|
602
|
+
|
|
603
|
+
wave_speed: rx.Var[int | float] = field(
|
|
604
|
+
doc="Speed of the wave animation. Default: 0.05."
|
|
605
|
+
)
|
|
606
|
+
wave_frequency: rx.Var[int | float] = field(
|
|
607
|
+
doc="Frequency of the wave pattern. Default: 3."
|
|
608
|
+
)
|
|
609
|
+
wave_amplitude: rx.Var[int | float] = field(
|
|
610
|
+
doc="Amplitude of the wave pattern. Default: 0.3."
|
|
611
|
+
)
|
|
612
|
+
wave_color: rx.Var[list[int | float]] = field(
|
|
613
|
+
doc="Color of the wave, defined as an RGB array. Default: [0.5, 0.5, 0.5]."
|
|
614
|
+
)
|
|
615
|
+
background_color: rx.Var[list[int | float]] = field(
|
|
616
|
+
doc="Base canvas color behind the dithered waves. Default: [0, 0, 0]."
|
|
617
|
+
)
|
|
618
|
+
color_num: rx.Var[int | float] = field(
|
|
619
|
+
doc="Number of colors to use in the dithering effect. Default: 4."
|
|
620
|
+
)
|
|
621
|
+
pixel_size: rx.Var[int | float] = field(
|
|
622
|
+
doc="Size of the pixels for the dithering effect. Default: 2."
|
|
623
|
+
)
|
|
624
|
+
disable_animation: rx.Var[bool] = field(
|
|
625
|
+
doc="Disable the wave animation when true. Default: false."
|
|
626
|
+
)
|
|
627
|
+
enable_mouse_interaction: rx.Var[bool] = field(
|
|
628
|
+
doc="Enables mouse interaction to influence the wave effect. Default: true."
|
|
629
|
+
)
|
|
630
|
+
mouse_radius: rx.Var[int | float] = field(
|
|
631
|
+
doc="Radius for the mouse interaction effect. Default: 1."
|
|
632
|
+
)
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
class DotField(ReactBitsComponent):
|
|
636
|
+
"""Interactive dot grid with cursor bulge, glow, sparkle, and wave effects.
|
|
637
|
+
|
|
638
|
+
Docs: https://reactbits.dev/backgrounds/dot-field
|
|
639
|
+
"""
|
|
640
|
+
|
|
641
|
+
tag = "DotField"
|
|
642
|
+
alias = "ReactBitsDotField"
|
|
643
|
+
is_default = True
|
|
644
|
+
_rb_category = "Backgrounds"
|
|
645
|
+
_rb_name = "DotField"
|
|
646
|
+
_rb_files = ('DotField.css', 'DotField.jsx')
|
|
647
|
+
|
|
648
|
+
dot_radius: rx.Var[int | float] = field(
|
|
649
|
+
doc="Radius of each individual dot in the grid. Default: 1.5."
|
|
650
|
+
)
|
|
651
|
+
dot_spacing: rx.Var[int | float] = field(
|
|
652
|
+
doc="Spacing between dots in the grid. Default: 14."
|
|
653
|
+
)
|
|
654
|
+
cursor_radius: rx.Var[int | float] = field(
|
|
655
|
+
doc="Radius of the cursor interaction area. Default: 500."
|
|
656
|
+
)
|
|
657
|
+
cursor_force: rx.Var[int | float] = field(
|
|
658
|
+
doc="Force applied to dots when not in bulge mode. Default: 0.1."
|
|
659
|
+
)
|
|
660
|
+
bulge_only: rx.Var[bool] = field(
|
|
661
|
+
doc="When true, dots bulge away from cursor. When false, dots are pushed with physics. Default: true."
|
|
662
|
+
)
|
|
663
|
+
bulge_strength: rx.Var[int | float] = field(
|
|
664
|
+
doc="Strength of the bulge effect around the cursor. Default: 67."
|
|
665
|
+
)
|
|
666
|
+
glow_radius: rx.Var[int | float] = field(
|
|
667
|
+
doc="Radius of the SVG glow effect that follows the cursor. Default: 160."
|
|
668
|
+
)
|
|
669
|
+
sparkle: rx.Var[bool] = field(
|
|
670
|
+
doc="When enabled, ~3% of dots randomly sparkle at a larger size. Default: false."
|
|
671
|
+
)
|
|
672
|
+
wave_amplitude: rx.Var[int | float] = field(
|
|
673
|
+
doc="Amplitude of the wave displacement animation applied to dots. Default: 0."
|
|
674
|
+
)
|
|
675
|
+
gradient_from: rx.Var[str] = field(
|
|
676
|
+
doc="Start color of the diagonal gradient applied to dots. Default: 'rgba(168, 85, 247, 0.35)'."
|
|
677
|
+
)
|
|
678
|
+
gradient_to: rx.Var[str] = field(
|
|
679
|
+
doc="End color of the diagonal gradient applied to dots. Default: 'rgba(180, 151, 207, 0.25)'."
|
|
680
|
+
)
|
|
681
|
+
glow_color: rx.Var[str] = field(
|
|
682
|
+
doc="Color of the radial glow effect that follows the cursor. Default: '#120F17'."
|
|
683
|
+
)
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
class DotGrid(ReactBitsComponent):
|
|
687
|
+
"""Animated dot grid with cursor interactions.
|
|
688
|
+
|
|
689
|
+
Docs: https://reactbits.dev/backgrounds/dot-grid
|
|
690
|
+
"""
|
|
691
|
+
|
|
692
|
+
tag = "DotGrid"
|
|
693
|
+
alias = "ReactBitsDotGrid"
|
|
694
|
+
is_default = True
|
|
695
|
+
_rb_category = "Backgrounds"
|
|
696
|
+
_rb_name = "DotGrid"
|
|
697
|
+
_rb_files = ('DotGrid.css', 'DotGrid.jsx')
|
|
698
|
+
lib_dependencies: list[str] = ['gsap@3.13.0']
|
|
699
|
+
|
|
700
|
+
dot_size: rx.Var[int | float] = field(
|
|
701
|
+
doc="Size of each dot in pixels. Default: 16."
|
|
702
|
+
)
|
|
703
|
+
gap: rx.Var[int | float] = field(
|
|
704
|
+
doc="Gap between each dot in pixels. Default: 32."
|
|
705
|
+
)
|
|
706
|
+
base_color: rx.Var[str] = field(
|
|
707
|
+
doc="Base color of the dots. Default: '#5227FF'."
|
|
708
|
+
)
|
|
709
|
+
active_color: rx.Var[str] = field(
|
|
710
|
+
doc="Color of dots when hovered or activated. Default: '#5227FF'."
|
|
711
|
+
)
|
|
712
|
+
proximity: rx.Var[int | float] = field(
|
|
713
|
+
doc="Radius around the mouse pointer within which dots react. Default: 150."
|
|
714
|
+
)
|
|
715
|
+
speed_trigger: rx.Var[int | float] = field(
|
|
716
|
+
doc="Mouse speed threshold to trigger inertia effect. Default: 100."
|
|
717
|
+
)
|
|
718
|
+
shock_radius: rx.Var[int | float] = field(
|
|
719
|
+
doc="Radius of the shockwave effect on click. Default: 250."
|
|
720
|
+
)
|
|
721
|
+
shock_strength: rx.Var[int | float] = field(
|
|
722
|
+
doc="Strength of the shockwave effect on click. Default: 5."
|
|
723
|
+
)
|
|
724
|
+
max_speed: rx.Var[int | float] = field(
|
|
725
|
+
doc="Maximum speed for inertia calculation. Default: 5000."
|
|
726
|
+
)
|
|
727
|
+
resistance: rx.Var[int | float] = field(
|
|
728
|
+
doc="Resistance for the inertia effect. Default: 750."
|
|
729
|
+
)
|
|
730
|
+
return_duration: rx.Var[int | float] = field(
|
|
731
|
+
doc="Duration for dots to return to their original position after inertia. Default: 1.5."
|
|
732
|
+
)
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
class EvilEye(ReactBitsComponent):
|
|
736
|
+
"""Procedural evil eye shader with animated iris, slit pupil, and fiery outer glow.
|
|
737
|
+
|
|
738
|
+
Docs: https://reactbits.dev/backgrounds/evil-eye
|
|
739
|
+
"""
|
|
740
|
+
|
|
741
|
+
tag = "EvilEye"
|
|
742
|
+
alias = "ReactBitsEvilEye"
|
|
743
|
+
is_default = True
|
|
744
|
+
_rb_category = "Backgrounds"
|
|
745
|
+
_rb_name = "EvilEye"
|
|
746
|
+
_rb_files = ('EvilEye.css', 'EvilEye.jsx')
|
|
747
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
748
|
+
|
|
749
|
+
eye_color: rx.Var[str] = field(
|
|
750
|
+
doc="Primary eye color in HEX format. Default: '#FF6F37'."
|
|
751
|
+
)
|
|
752
|
+
intensity: rx.Var[int | float] = field(
|
|
753
|
+
doc="Brightness / HDR intensity of the eye color. Default: 1.5."
|
|
754
|
+
)
|
|
755
|
+
pupil_size: rx.Var[int | float] = field(
|
|
756
|
+
doc="Size and darkness of the pupil slit. Default: 0.6."
|
|
757
|
+
)
|
|
758
|
+
iris_width: rx.Var[int | float] = field(
|
|
759
|
+
doc="Width of the main iris ring. Default: 0.25."
|
|
760
|
+
)
|
|
761
|
+
glow_intensity: rx.Var[int | float] = field(
|
|
762
|
+
doc="Strength of the outer eye glow. Default: 0.35."
|
|
763
|
+
)
|
|
764
|
+
scale: rx.Var[int | float] = field(
|
|
765
|
+
doc="Zoom level of the eye. Values > 1 zoom in, < 1 zoom out. Default: 0.8."
|
|
766
|
+
)
|
|
767
|
+
noise_scale: rx.Var[int | float] = field(
|
|
768
|
+
doc="Scale of the fire/noise texture sampling. Default: 1.0."
|
|
769
|
+
)
|
|
770
|
+
pupil_follow: rx.Var[int | float] = field(
|
|
771
|
+
doc="Intensity of pupil cursor tracking. 0 disables it. Default: 1.0."
|
|
772
|
+
)
|
|
773
|
+
flame_speed: rx.Var[int | float] = field(
|
|
774
|
+
doc="Independent flame flicker animation speed. Default: 1.0."
|
|
775
|
+
)
|
|
776
|
+
background_color: rx.Var[str] = field(
|
|
777
|
+
doc="Background color in HEX format. Default: '#000000'."
|
|
778
|
+
)
|
|
779
|
+
light_mode: rx.Var[bool] = field(
|
|
780
|
+
doc="The `lightMode` prop. Default: false."
|
|
781
|
+
)
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
class FaultyTerminal(ReactBitsComponent):
|
|
785
|
+
"""Terminal CRT scanline squares effect with flicker + noise.
|
|
786
|
+
|
|
787
|
+
Docs: https://reactbits.dev/backgrounds/faulty-terminal
|
|
788
|
+
"""
|
|
789
|
+
|
|
790
|
+
tag = "FaultyTerminal"
|
|
791
|
+
alias = "ReactBitsFaultyTerminal"
|
|
792
|
+
is_default = True
|
|
793
|
+
_rb_category = "Backgrounds"
|
|
794
|
+
_rb_name = "FaultyTerminal"
|
|
795
|
+
_rb_files = ('FaultyTerminal.css', 'FaultyTerminal.jsx')
|
|
796
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
797
|
+
|
|
798
|
+
scale: rx.Var[int | float] = field(
|
|
799
|
+
doc="Controls the zoom/scale of the pattern. Default: 1."
|
|
800
|
+
)
|
|
801
|
+
grid_mul: rx.Var[list[Any]] = field(
|
|
802
|
+
doc="Grid multiplier for glyph density [x, y]. Default: [2, 1]."
|
|
803
|
+
)
|
|
804
|
+
digit_size: rx.Var[int | float] = field(
|
|
805
|
+
doc="Size of individual glyphs. Default: 1.5."
|
|
806
|
+
)
|
|
807
|
+
time_scale: rx.Var[int | float] = field(
|
|
808
|
+
doc="Animation speed multiplier. Default: 0.3."
|
|
809
|
+
)
|
|
810
|
+
pause: rx.Var[bool] = field(
|
|
811
|
+
doc="Pause/resume animation. Default: false."
|
|
812
|
+
)
|
|
813
|
+
scanline_intensity: rx.Var[int | float] = field(
|
|
814
|
+
doc="Strength of scanline effects. Default: 0.3."
|
|
815
|
+
)
|
|
816
|
+
glitch_amount: rx.Var[int | float] = field(
|
|
817
|
+
doc="Glitch displacement intensity. Default: 1."
|
|
818
|
+
)
|
|
819
|
+
flicker_amount: rx.Var[int | float] = field(
|
|
820
|
+
doc="Flicker effect strength. Default: 1."
|
|
821
|
+
)
|
|
822
|
+
noise_amp: rx.Var[int | float] = field(
|
|
823
|
+
doc="Noise pattern amplitude. Default: 1."
|
|
824
|
+
)
|
|
825
|
+
chromatic_aberration: rx.Var[int | float] = field(
|
|
826
|
+
doc="RGB channel separation in pixels. Default: 0."
|
|
827
|
+
)
|
|
828
|
+
dither: rx.Var[int | float | bool] = field(
|
|
829
|
+
doc="Dithering effect intensity. Default: 0."
|
|
830
|
+
)
|
|
831
|
+
curvature: rx.Var[int | float] = field(
|
|
832
|
+
doc="Barrel distortion amount. Default: 0.2."
|
|
833
|
+
)
|
|
834
|
+
tint: rx.Var[str] = field(
|
|
835
|
+
doc="Color tint (hex). Default: '#ffffff'."
|
|
836
|
+
)
|
|
837
|
+
mouse_react: rx.Var[bool] = field(
|
|
838
|
+
doc="Enable/disable mouse interaction. Default: true."
|
|
839
|
+
)
|
|
840
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
841
|
+
doc="Mouse interaction intensity. Default: 0.2."
|
|
842
|
+
)
|
|
843
|
+
dpr: rx.Var[Any] = field(
|
|
844
|
+
doc="The `dpr` prop. Default: Math.min(window.devicePixelRatio || 1, 2)."
|
|
845
|
+
)
|
|
846
|
+
page_load_animation: rx.Var[bool] = field(
|
|
847
|
+
doc="Enable fade-in animation on load. Default: true."
|
|
848
|
+
)
|
|
849
|
+
brightness: rx.Var[int | float] = field(
|
|
850
|
+
doc="Overall opacity/brightness control. Default: 1."
|
|
851
|
+
)
|
|
852
|
+
light_mode: rx.Var[bool] = field(
|
|
853
|
+
doc="The `lightMode` prop. Default: false."
|
|
854
|
+
)
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
class Ferrofluid(ReactBitsComponent):
|
|
858
|
+
"""A churning magnetic fluid traced by glowing contour lines, with a cursor magnet.
|
|
859
|
+
|
|
860
|
+
Docs: https://reactbits.dev/backgrounds/ferrofluid
|
|
861
|
+
"""
|
|
862
|
+
|
|
863
|
+
tag = "Ferrofluid"
|
|
864
|
+
alias = "ReactBitsFerrofluid"
|
|
865
|
+
is_default = True
|
|
866
|
+
_rb_category = "Backgrounds"
|
|
867
|
+
_rb_name = "Ferrofluid"
|
|
868
|
+
_rb_files = ('Ferrofluid.css', 'Ferrofluid.jsx')
|
|
869
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
870
|
+
|
|
871
|
+
dpr: rx.Var[int | float] = field(
|
|
872
|
+
doc="Overrides device pixel ratio; lower for performance, higher for sharpness. Default: window.devicePixelRatio."
|
|
873
|
+
)
|
|
874
|
+
paused: rx.Var[bool] = field(
|
|
875
|
+
doc="If true, stops rendering updates (freezing the current frame). Default: false."
|
|
876
|
+
)
|
|
877
|
+
colors: rx.Var[list[str]] = field(
|
|
878
|
+
doc="Array of hex colors (up to 8) used to tint the fluid rim. Colors are spread across the surface by height; a single color makes the whole effect uniform. Default: ['#ffffff', '#ffffff', '#ffffff']."
|
|
879
|
+
)
|
|
880
|
+
speed: rx.Var[int | float] = field(
|
|
881
|
+
doc="Multiplier for how fast the fluid churns and flows. Default: 0.5."
|
|
882
|
+
)
|
|
883
|
+
scale: rx.Var[int | float] = field(
|
|
884
|
+
doc="Overall feature size. Higher values zoom in for larger, fewer blobs. Default: 1.6."
|
|
885
|
+
)
|
|
886
|
+
turbulence: rx.Var[int | float] = field(
|
|
887
|
+
doc="Amount of domain distortion. Higher values create more chaotic, swirling motion. Default: 1."
|
|
888
|
+
)
|
|
889
|
+
fluidity: rx.Var[int | float] = field(
|
|
890
|
+
doc="Smoothness of the merge between the two fluid layers. Higher = softer, more liquid blending. Default: 0.1."
|
|
891
|
+
)
|
|
892
|
+
rim_width: rx.Var[int | float] = field(
|
|
893
|
+
doc="Thickness of the glowing contour lines tracing the fluid surface. Default: 0.2."
|
|
894
|
+
)
|
|
895
|
+
sharpness: rx.Var[int | float] = field(
|
|
896
|
+
doc="Contrast of the rim highlights. Higher values give crisper, thinner edges. Default: 2.5."
|
|
897
|
+
)
|
|
898
|
+
shimmer: rx.Var[int | float] = field(
|
|
899
|
+
doc="Amount of fine grainy break-up applied to the rim. 0 = smooth lines. Default: 1.5."
|
|
900
|
+
)
|
|
901
|
+
glow: rx.Var[int | float] = field(
|
|
902
|
+
doc="Overall brightness multiplier of the rim highlights. Default: 2."
|
|
903
|
+
)
|
|
904
|
+
flow_direction: rx.Var[Literal["up", "down", "left", "right"]] = field(
|
|
905
|
+
doc="Primary direction the fluid surface drifts. Default: 'down'."
|
|
906
|
+
)
|
|
907
|
+
opacity: rx.Var[int | float] = field(
|
|
908
|
+
doc="Overall alpha of the rendered canvas. Default: 1."
|
|
909
|
+
)
|
|
910
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
911
|
+
doc="Enables a magnetic spike that rises and glows under the cursor. Default: true."
|
|
912
|
+
)
|
|
913
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
914
|
+
doc="Intensity of the magnetic cursor spike. Default: 1."
|
|
915
|
+
)
|
|
916
|
+
mouse_radius: rx.Var[int | float] = field(
|
|
917
|
+
doc="Falloff radius of the magnetic cursor spike. Default: 0.35."
|
|
918
|
+
)
|
|
919
|
+
mouse_dampening: rx.Var[int | float] = field(
|
|
920
|
+
doc="Easing time constant (seconds) for the cursor to follow the pointer. 0 = immediate. Default: 0.15."
|
|
921
|
+
)
|
|
922
|
+
mix_blend_mode: rx.Var[str] = field(
|
|
923
|
+
doc="CSS mix-blend-mode applied to the canvas (e.g. 'screen', 'lighten')."
|
|
924
|
+
)
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
class FloatingLines(ReactBitsComponent):
|
|
928
|
+
"""3D floating lines that react to cursor movement.
|
|
929
|
+
|
|
930
|
+
Docs: https://reactbits.dev/backgrounds/floating-lines
|
|
931
|
+
"""
|
|
932
|
+
|
|
933
|
+
tag = "FloatingLines"
|
|
934
|
+
alias = "ReactBitsFloatingLines"
|
|
935
|
+
is_default = True
|
|
936
|
+
_rb_category = "Backgrounds"
|
|
937
|
+
_rb_name = "FloatingLines"
|
|
938
|
+
_rb_files = ('FloatingLines.css', 'FloatingLines.jsx')
|
|
939
|
+
lib_dependencies: list[str] = ['three@0.180.0']
|
|
940
|
+
|
|
941
|
+
lines_gradient: rx.Var[list[str]] = field(
|
|
942
|
+
doc="Array of hex color strings for gradient coloring of lines (max 8 colors)."
|
|
943
|
+
)
|
|
944
|
+
enabled_waves: rx.Var[list[Any]] = field(
|
|
945
|
+
doc="Which wave layers to display. Can toggle individual waves on/off. Default: ['top', 'middle', 'bottom']."
|
|
946
|
+
)
|
|
947
|
+
line_count: rx.Var[int | float | list[int | float]] = field(
|
|
948
|
+
doc="Number of lines per wave. Single number applies to all waves, or array for per-wave control. Default: [6]."
|
|
949
|
+
)
|
|
950
|
+
line_distance: rx.Var[int | float | list[int | float]] = field(
|
|
951
|
+
doc="Spacing between lines. Single number applies to all waves, or array for per-wave control. Default: [5]."
|
|
952
|
+
)
|
|
953
|
+
top_wave_position: rx.Var[dict[str, Any]] = field(
|
|
954
|
+
doc="Position and rotation settings for the top wave layer."
|
|
955
|
+
)
|
|
956
|
+
middle_wave_position: rx.Var[dict[str, Any]] = field(
|
|
957
|
+
doc="Position and rotation settings for the middle wave layer."
|
|
958
|
+
)
|
|
959
|
+
bottom_wave_position: rx.Var[dict[str, Any]] = field(
|
|
960
|
+
doc="Position and rotation settings for the bottom wave layer. Default: { x: 2.0, y: -0.7, rotate: -1 }."
|
|
961
|
+
)
|
|
962
|
+
animation_speed: rx.Var[int | float] = field(
|
|
963
|
+
doc="Speed multiplier for the wave animation. Default: 1."
|
|
964
|
+
)
|
|
965
|
+
interactive: rx.Var[bool] = field(
|
|
966
|
+
doc="Whether the lines react to mouse/pointer movement. Default: true."
|
|
967
|
+
)
|
|
968
|
+
bend_radius: rx.Var[int | float] = field(
|
|
969
|
+
doc="Radius of the area affected by mouse interaction. Default: 5.0."
|
|
970
|
+
)
|
|
971
|
+
bend_strength: rx.Var[int | float] = field(
|
|
972
|
+
doc="Intensity of the bend effect when interacting with mouse. Default: -0.5."
|
|
973
|
+
)
|
|
974
|
+
mouse_damping: rx.Var[int | float] = field(
|
|
975
|
+
doc="Smoothing factor for mouse movement tracking (0-1). Default: 0.05."
|
|
976
|
+
)
|
|
977
|
+
parallax: rx.Var[bool] = field(
|
|
978
|
+
doc="Enable parallax effect with mouse movement. Default: true."
|
|
979
|
+
)
|
|
980
|
+
parallax_strength: rx.Var[int | float] = field(
|
|
981
|
+
doc="Strength of the parallax effect. Default: 0.2."
|
|
982
|
+
)
|
|
983
|
+
mix_blend_mode: rx.Var[str] = field(
|
|
984
|
+
doc="CSS mix-blend-mode applied to the canvas element. Default: 'screen'."
|
|
985
|
+
)
|
|
986
|
+
background_color: rx.Var[str] = field(
|
|
987
|
+
doc="The `backgroundColor` prop. Default: '#000000'."
|
|
988
|
+
)
|
|
989
|
+
light_mode: rx.Var[bool] = field(
|
|
990
|
+
doc="The `lightMode` prop. Default: false."
|
|
991
|
+
)
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
class Galaxy(ReactBitsComponent):
|
|
995
|
+
"""Parallax realistic starfield with pointer interactions.
|
|
996
|
+
|
|
997
|
+
Docs: https://reactbits.dev/backgrounds/galaxy
|
|
998
|
+
"""
|
|
999
|
+
|
|
1000
|
+
tag = "Galaxy"
|
|
1001
|
+
alias = "ReactBitsGalaxy"
|
|
1002
|
+
is_default = True
|
|
1003
|
+
_rb_category = "Backgrounds"
|
|
1004
|
+
_rb_name = "Galaxy"
|
|
1005
|
+
_rb_files = ('Galaxy.css', 'Galaxy.jsx')
|
|
1006
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1007
|
+
|
|
1008
|
+
focal: rx.Var[list[int | float]] = field(
|
|
1009
|
+
doc="Sets the focal point of the galaxy effect as [x, y] coordinates from 0 to 1. Default: [0.5, 0.5]."
|
|
1010
|
+
)
|
|
1011
|
+
rotation: rx.Var[list[int | float]] = field(
|
|
1012
|
+
doc="Controls the rotation matrix of the galaxy as [x, y] rotation values. Default: [1.0, 0.0]."
|
|
1013
|
+
)
|
|
1014
|
+
star_speed: rx.Var[int | float] = field(
|
|
1015
|
+
doc="Controls the speed of star movement and animation. Default: 0.5."
|
|
1016
|
+
)
|
|
1017
|
+
density: rx.Var[int | float] = field(
|
|
1018
|
+
doc="Controls the density of stars in the galaxy. Default: 1."
|
|
1019
|
+
)
|
|
1020
|
+
hue_shift: rx.Var[int | float] = field(
|
|
1021
|
+
doc="Shifts the hue of all stars by the specified degrees (0-360). Default: 140."
|
|
1022
|
+
)
|
|
1023
|
+
disable_animation: rx.Var[bool] = field(
|
|
1024
|
+
doc="When true, stops all time-based animations. Default: false."
|
|
1025
|
+
)
|
|
1026
|
+
speed: rx.Var[int | float] = field(
|
|
1027
|
+
doc="Global speed multiplier for all animations. Default: 1.0."
|
|
1028
|
+
)
|
|
1029
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
1030
|
+
doc="Enables or disables mouse interaction with the galaxy. Default: true."
|
|
1031
|
+
)
|
|
1032
|
+
glow_intensity: rx.Var[int | float] = field(
|
|
1033
|
+
doc="Controls the intensity of the star glow effect. Default: 0.3."
|
|
1034
|
+
)
|
|
1035
|
+
saturation: rx.Var[int | float] = field(
|
|
1036
|
+
doc="Controls color saturation of stars (0 = grayscale, 1 = full color). Default: 0.0."
|
|
1037
|
+
)
|
|
1038
|
+
mouse_repulsion: rx.Var[bool] = field(
|
|
1039
|
+
doc="When true, stars are repelled by the mouse cursor. Default: true."
|
|
1040
|
+
)
|
|
1041
|
+
repulsion_strength: rx.Var[int | float] = field(
|
|
1042
|
+
doc="Strength of mouse repulsion effect when mouseRepulsion is enabled. Default: 2."
|
|
1043
|
+
)
|
|
1044
|
+
twinkle_intensity: rx.Var[int | float] = field(
|
|
1045
|
+
doc="Controls how much stars twinkle (0 = no twinkle, 1 = maximum twinkle). Default: 0.3."
|
|
1046
|
+
)
|
|
1047
|
+
rotation_speed: rx.Var[int | float] = field(
|
|
1048
|
+
doc="Speed of automatic galaxy rotation. Default: 0.1."
|
|
1049
|
+
)
|
|
1050
|
+
auto_center_repulsion: rx.Var[int | float] = field(
|
|
1051
|
+
doc="Creates repulsion from center of canvas. Overrides mouse repulsion when > 0. Default: 0."
|
|
1052
|
+
)
|
|
1053
|
+
transparent: rx.Var[bool] = field(
|
|
1054
|
+
doc="Makes the black background transparent, showing only stars. Default: true."
|
|
1055
|
+
)
|
|
1056
|
+
light_mode: rx.Var[bool] = field(
|
|
1057
|
+
doc="The `lightMode` prop. Default: false."
|
|
1058
|
+
)
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
class GhostFibers(ReactBitsComponent):
|
|
1062
|
+
"""A deep-blue recursive fiber field with luminous bands, radial twisting and soft atmospheric glow.
|
|
1063
|
+
|
|
1064
|
+
Docs: https://reactbits.dev/backgrounds/ghost-fibers
|
|
1065
|
+
"""
|
|
1066
|
+
|
|
1067
|
+
tag = "GhostFibers"
|
|
1068
|
+
alias = "ReactBitsGhostFibers"
|
|
1069
|
+
is_default = True
|
|
1070
|
+
_rb_category = "Backgrounds"
|
|
1071
|
+
_rb_name = "GhostFibers"
|
|
1072
|
+
_rb_files = ('GhostFibers.css', 'GhostFibers.jsx')
|
|
1073
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1074
|
+
|
|
1075
|
+
line_color: rx.Var[str] = field(
|
|
1076
|
+
doc="Color of the thin fiber cores. Default: '#140E35'."
|
|
1077
|
+
)
|
|
1078
|
+
glow_color: rx.Var[str] = field(
|
|
1079
|
+
doc="Color of the broad luminous bands. Default: '#3437A0'."
|
|
1080
|
+
)
|
|
1081
|
+
speed: rx.Var[int | float] = field(
|
|
1082
|
+
doc="Master animation speed. Default: 0.2."
|
|
1083
|
+
)
|
|
1084
|
+
scale: rx.Var[int | float] = field(
|
|
1085
|
+
doc="Zoom level of the field. Default: 2."
|
|
1086
|
+
)
|
|
1087
|
+
rotation: rx.Var[int | float] = field(
|
|
1088
|
+
doc="Static field rotation in degrees. Default: 0."
|
|
1089
|
+
)
|
|
1090
|
+
rotation_speed: rx.Var[int | float] = field(
|
|
1091
|
+
doc="Continuous rotation rate. Default: 0.25."
|
|
1092
|
+
)
|
|
1093
|
+
layers: rx.Var[int | float] = field(
|
|
1094
|
+
doc="Number of cumulative fiber layers, from 1 to 10. Default: 4."
|
|
1095
|
+
)
|
|
1096
|
+
wave_amplitude: rx.Var[int | float] = field(
|
|
1097
|
+
doc="Strength of the recursive wave displacement. Default: 0.015."
|
|
1098
|
+
)
|
|
1099
|
+
wave_frequency: rx.Var[int | float] = field(
|
|
1100
|
+
doc="Frequency of the recursive wave displacement. Default: 3."
|
|
1101
|
+
)
|
|
1102
|
+
wave_speed: rx.Var[int | float] = field(
|
|
1103
|
+
doc="Base speed of the layered waves. Default: 0.15."
|
|
1104
|
+
)
|
|
1105
|
+
layer_speed: rx.Var[int | float] = field(
|
|
1106
|
+
doc="Additional wave speed contributed by each layer. Default: 0.08."
|
|
1107
|
+
)
|
|
1108
|
+
twist: rx.Var[int | float] = field(
|
|
1109
|
+
doc="Angular distortion applied during each iteration. Default: 0.1."
|
|
1110
|
+
)
|
|
1111
|
+
twist_frequency: rx.Var[int | float] = field(
|
|
1112
|
+
doc="Radial frequency of the angular distortion. Default: 5."
|
|
1113
|
+
)
|
|
1114
|
+
twist_speed: rx.Var[int | float] = field(
|
|
1115
|
+
doc="Animation speed of the angular distortion. Default: 1.2."
|
|
1116
|
+
)
|
|
1117
|
+
line_frequency: rx.Var[int | float] = field(
|
|
1118
|
+
doc="Base frequency of the bright fibers. Default: 5."
|
|
1119
|
+
)
|
|
1120
|
+
line_spacing: rx.Var[int | float] = field(
|
|
1121
|
+
doc="Frequency increment applied per layer. Default: 2."
|
|
1122
|
+
)
|
|
1123
|
+
line_sharpness: rx.Var[int | float] = field(
|
|
1124
|
+
doc="Sharpness of the thin fiber cores. Default: 16."
|
|
1125
|
+
)
|
|
1126
|
+
glow_falloff: rx.Var[int | float] = field(
|
|
1127
|
+
doc="Falloff of the broad glowing bands. Default: 10."
|
|
1128
|
+
)
|
|
1129
|
+
glow_intensity: rx.Var[int | float] = field(
|
|
1130
|
+
doc="Brightness multiplier for the broad glow. Default: 1.6."
|
|
1131
|
+
)
|
|
1132
|
+
brightness: rx.Var[int | float] = field(
|
|
1133
|
+
doc="Exposure used by the final tone mapping. Default: 2."
|
|
1134
|
+
)
|
|
1135
|
+
blue_boost: rx.Var[int | float] = field(
|
|
1136
|
+
doc="Multiplier applied to the final blue channel. Default: 1.25."
|
|
1137
|
+
)
|
|
1138
|
+
vignette: rx.Var[int | float] = field(
|
|
1139
|
+
doc="Strength of the original edge darkening. Default: 0.8."
|
|
1140
|
+
)
|
|
1141
|
+
grain: rx.Var[int | float] = field(
|
|
1142
|
+
doc="Strength of the layered screen-space film grain. Default: 0.05."
|
|
1143
|
+
)
|
|
1144
|
+
light_mode: rx.Var[bool] = field(
|
|
1145
|
+
doc="Uses an ink-on-light compositing mode. Default: false."
|
|
1146
|
+
)
|
|
1147
|
+
dpr: rx.Var[int | float] = field(
|
|
1148
|
+
doc="Canvas pixel density, clamped between 0.5 and 2. Default: 1."
|
|
1149
|
+
)
|
|
1150
|
+
fps: rx.Var[int | float] = field(
|
|
1151
|
+
doc="Maximum shader render rate. Default: 60."
|
|
1152
|
+
)
|
|
1153
|
+
paused: rx.Var[bool] = field(
|
|
1154
|
+
doc="Freezes the animation and stops its render loop. Default: false."
|
|
1155
|
+
)
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
class GradientBlinds(ReactBitsComponent):
|
|
1159
|
+
"""Layered gradient blinds with spotlight and noise distortion.
|
|
1160
|
+
|
|
1161
|
+
Docs: https://reactbits.dev/backgrounds/gradient-blinds
|
|
1162
|
+
"""
|
|
1163
|
+
|
|
1164
|
+
tag = "GradientBlinds"
|
|
1165
|
+
alias = "ReactBitsGradientBlinds"
|
|
1166
|
+
is_default = True
|
|
1167
|
+
_rb_category = "Backgrounds"
|
|
1168
|
+
_rb_name = "GradientBlinds"
|
|
1169
|
+
_rb_files = ('GradientBlinds.css', 'GradientBlinds.jsx')
|
|
1170
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1171
|
+
|
|
1172
|
+
dpr: rx.Var[int | float] = field(
|
|
1173
|
+
doc="Overrides device pixel ratio; lower for performance, higher for sharpness. Default: window.devicePixelRatio."
|
|
1174
|
+
)
|
|
1175
|
+
paused: rx.Var[bool] = field(
|
|
1176
|
+
doc="If true, stops rendering updates (freezing the current frame). Default: false."
|
|
1177
|
+
)
|
|
1178
|
+
gradient_colors: rx.Var[list[str]] = field(
|
|
1179
|
+
doc="Array of hex colors (up to 8) forming the animated gradient. If one color is provided it is duplicated. Default: ['#FF9FFC', '#5227FF']."
|
|
1180
|
+
)
|
|
1181
|
+
angle: rx.Var[int | float] = field(
|
|
1182
|
+
doc="Rotation of the gradient in degrees (0 = horizontal left\u2192right). Default: 0."
|
|
1183
|
+
)
|
|
1184
|
+
noise: rx.Var[int | float] = field(
|
|
1185
|
+
doc="Strength of per\u2011pixel noise added to the final color (0 = clean). Default: 0.3."
|
|
1186
|
+
)
|
|
1187
|
+
blind_count: rx.Var[int | float] = field(
|
|
1188
|
+
doc="Target number of vertical blinds. Acts as an upper bound when blindMinWidth is set. Default: 16."
|
|
1189
|
+
)
|
|
1190
|
+
blind_min_width: rx.Var[int | float] = field(
|
|
1191
|
+
doc="Minimum pixel width for each blind. Reduces effective blindCount if necessary to satisfy this width. Default: 60."
|
|
1192
|
+
)
|
|
1193
|
+
mouse_dampening: rx.Var[int | float] = field(
|
|
1194
|
+
doc="Easing time constant (seconds) for the spotlight to follow the cursor. 0 = immediate. Default: 0.15."
|
|
1195
|
+
)
|
|
1196
|
+
mirror_gradient: rx.Var[bool] = field(
|
|
1197
|
+
doc="Creates a mirrored ping\u2011pong gradient progression instead of a linear wrap. Default: false."
|
|
1198
|
+
)
|
|
1199
|
+
spotlight_radius: rx.Var[int | float] = field(
|
|
1200
|
+
doc="Normalized spotlight radius relative to the shorter canvas dimension. Default: 0.5."
|
|
1201
|
+
)
|
|
1202
|
+
spotlight_softness: rx.Var[int | float] = field(
|
|
1203
|
+
doc="Falloff exponent for spotlight edge. Higher = sharper edge (values >1 increase contrast). Default: 1."
|
|
1204
|
+
)
|
|
1205
|
+
spotlight_opacity: rx.Var[int | float] = field(
|
|
1206
|
+
doc="Overall intensity multiplier for the spotlight highlight. Default: 1."
|
|
1207
|
+
)
|
|
1208
|
+
distort_amount: rx.Var[int | float] = field(
|
|
1209
|
+
doc="Sin/cos warp intensity applied to UVs for subtle wavy distortion. Default: 0."
|
|
1210
|
+
)
|
|
1211
|
+
shine_direction: rx.Var[Literal["left", "right"]] = field(
|
|
1212
|
+
doc="Flips the bright side of each blind; useful for composition with other elements. Default: 'left'."
|
|
1213
|
+
)
|
|
1214
|
+
mix_blend_mode: rx.Var[str] = field(
|
|
1215
|
+
doc="CSS mix-blend-mode applied to the canvas (e.g. 'screen', 'overlay', 'multiply'). Default: 'lighten'."
|
|
1216
|
+
)
|
|
1217
|
+
light_mode: rx.Var[bool] = field(
|
|
1218
|
+
doc="The `lightMode` prop. Default: false."
|
|
1219
|
+
)
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
class GradientWaves(ReactBitsComponent):
|
|
1223
|
+
"""Raymarched sine waves rolling toward a soft, hazy horizon.
|
|
1224
|
+
|
|
1225
|
+
Docs: https://reactbits.dev/backgrounds/gradient-waves
|
|
1226
|
+
"""
|
|
1227
|
+
|
|
1228
|
+
tag = "GradientWaves"
|
|
1229
|
+
alias = "ReactBitsGradientWaves"
|
|
1230
|
+
is_default = True
|
|
1231
|
+
_rb_category = "Backgrounds"
|
|
1232
|
+
_rb_name = "GradientWaves"
|
|
1233
|
+
_rb_files = ('GradientWaves.css', 'GradientWaves.jsx')
|
|
1234
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1235
|
+
|
|
1236
|
+
horizon_color: rx.Var[str] = field(
|
|
1237
|
+
doc="Distant haze color the waves fade into. Default: '#5227FF'."
|
|
1238
|
+
)
|
|
1239
|
+
wave_color: rx.Var[str] = field(
|
|
1240
|
+
doc="Mid color of the rolling wave bodies. Default: '#FF9FFC'."
|
|
1241
|
+
)
|
|
1242
|
+
crest_color: rx.Var[str] = field(
|
|
1243
|
+
doc="Highlight color of the nearest wave crests. Default: '#FFFFFF'."
|
|
1244
|
+
)
|
|
1245
|
+
speed: rx.Var[int | float] = field(
|
|
1246
|
+
doc="Animation speed of the undulating wave field. Default: 0.4."
|
|
1247
|
+
)
|
|
1248
|
+
amplitude: rx.Var[int | float] = field(
|
|
1249
|
+
doc="Height of the sine-plasma waves. Default: 2.5."
|
|
1250
|
+
)
|
|
1251
|
+
wave_scale: rx.Var[int | float] = field(
|
|
1252
|
+
doc="Overall spatial frequency of the waves. Default: 0.6."
|
|
1253
|
+
)
|
|
1254
|
+
wave_ratio: rx.Var[int | float] = field(
|
|
1255
|
+
doc="Ratio between the short and long wavelength components. Default: 0.9."
|
|
1256
|
+
)
|
|
1257
|
+
swell: rx.Var[int | float] = field(
|
|
1258
|
+
doc="Large-scale horizontal swell distortion. Default: 35."
|
|
1259
|
+
)
|
|
1260
|
+
turbulence: rx.Var[int | float] = field(
|
|
1261
|
+
doc="Large-scale cross-flow turbulence distortion. Default: 20."
|
|
1262
|
+
)
|
|
1263
|
+
tilt: rx.Var[int | float] = field(
|
|
1264
|
+
doc="Camera pitch toward the horizon (radians). Default: 1.11."
|
|
1265
|
+
)
|
|
1266
|
+
zoom: rx.Var[int | float] = field(
|
|
1267
|
+
doc="Field-of-view zoom into the wave field. Default: 1.0."
|
|
1268
|
+
)
|
|
1269
|
+
height: rx.Var[int | float] = field(
|
|
1270
|
+
doc="Vertical offset of the horizon line. Default: 5.5."
|
|
1271
|
+
)
|
|
1272
|
+
fog_depth: rx.Var[int | float] = field(
|
|
1273
|
+
doc="Distance over which the waves fade into haze and transparency. Default: 15."
|
|
1274
|
+
)
|
|
1275
|
+
detail: rx.Var[str] = field(
|
|
1276
|
+
doc="Raymarch quality tier: 'low', 'medium', or 'high'. Default: 'medium'."
|
|
1277
|
+
)
|
|
1278
|
+
brightness: rx.Var[int | float] = field(
|
|
1279
|
+
doc="Overall brightness multiplier for the final color. Default: 1.0."
|
|
1280
|
+
)
|
|
1281
|
+
opacity: rx.Var[int | float] = field(
|
|
1282
|
+
doc="Global opacity of the effect. Default: 1.0."
|
|
1283
|
+
)
|
|
1284
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
1285
|
+
doc="Enable subtle pointer-driven camera parallax. Default: true."
|
|
1286
|
+
)
|
|
1287
|
+
parallax_strength: rx.Var[int | float] = field(
|
|
1288
|
+
doc="Strength of the cursor parallax drift. Default: 0.5."
|
|
1289
|
+
)
|
|
1290
|
+
grain: rx.Var[bool] = field(
|
|
1291
|
+
doc="Overlay a whisper-subtle animated film grain on the effect. Default: true."
|
|
1292
|
+
)
|
|
1293
|
+
grain_intensity: rx.Var[int | float] = field(
|
|
1294
|
+
doc="Amplitude of the grain overlay. 0 disables it entirely. Default: 0.05."
|
|
1295
|
+
)
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
class Grainient(ReactBitsComponent):
|
|
1299
|
+
"""Grainy gradient swirls with soft wave distortion.
|
|
1300
|
+
|
|
1301
|
+
Docs: https://reactbits.dev/backgrounds/grainient
|
|
1302
|
+
"""
|
|
1303
|
+
|
|
1304
|
+
tag = "Grainient"
|
|
1305
|
+
alias = "ReactBitsGrainient"
|
|
1306
|
+
is_default = True
|
|
1307
|
+
_rb_category = "Backgrounds"
|
|
1308
|
+
_rb_name = "Grainient"
|
|
1309
|
+
_rb_files = ('Grainient.css', 'Grainient.jsx')
|
|
1310
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1311
|
+
|
|
1312
|
+
time_speed: rx.Var[int | float] = field(
|
|
1313
|
+
doc="Animation speed multiplier for the gradient motion. Default: 0.25."
|
|
1314
|
+
)
|
|
1315
|
+
color_balance: rx.Var[int | float] = field(
|
|
1316
|
+
doc="Shifts the palette balance toward dark or lighter tones. Default: 0.0."
|
|
1317
|
+
)
|
|
1318
|
+
warp_strength: rx.Var[int | float] = field(
|
|
1319
|
+
doc="Strength of the wave warp distortion (0 = none). Default: 1.0."
|
|
1320
|
+
)
|
|
1321
|
+
warp_frequency: rx.Var[int | float] = field(
|
|
1322
|
+
doc="Frequency of the wave warp. Default: 5.0."
|
|
1323
|
+
)
|
|
1324
|
+
warp_speed: rx.Var[int | float] = field(
|
|
1325
|
+
doc="Speed multiplier for the warp animation. Default: 2.0."
|
|
1326
|
+
)
|
|
1327
|
+
warp_amplitude: rx.Var[int | float] = field(
|
|
1328
|
+
doc="Base amplitude for the warp distortion. Default: 50.0."
|
|
1329
|
+
)
|
|
1330
|
+
blend_angle: rx.Var[int | float] = field(
|
|
1331
|
+
doc="Rotation angle for the color blend axis (degrees). Default: 0.0."
|
|
1332
|
+
)
|
|
1333
|
+
blend_softness: rx.Var[int | float] = field(
|
|
1334
|
+
doc="Softens the blend edges between color layers. Default: 0.05."
|
|
1335
|
+
)
|
|
1336
|
+
rotation_amount: rx.Var[int | float] = field(
|
|
1337
|
+
doc="Rotation amount driven by noise. Default: 500.0."
|
|
1338
|
+
)
|
|
1339
|
+
noise_scale: rx.Var[int | float] = field(
|
|
1340
|
+
doc="Scales the noise frequency that drives rotation. Default: 2.0."
|
|
1341
|
+
)
|
|
1342
|
+
grain_amount: rx.Var[int | float] = field(
|
|
1343
|
+
doc="Amount of film grain applied to the gradient. Default: 0.1."
|
|
1344
|
+
)
|
|
1345
|
+
grain_scale: rx.Var[int | float] = field(
|
|
1346
|
+
doc="Scale of the grain pattern. Default: 2.0."
|
|
1347
|
+
)
|
|
1348
|
+
grain_animated: rx.Var[bool] = field(
|
|
1349
|
+
doc="Animate grain over time. Default: false."
|
|
1350
|
+
)
|
|
1351
|
+
contrast: rx.Var[int | float] = field(
|
|
1352
|
+
doc="Overall contrast applied to the final color. Default: 1.5."
|
|
1353
|
+
)
|
|
1354
|
+
gamma: rx.Var[int | float] = field(
|
|
1355
|
+
doc="Gamma correction for the final color. Default: 1.0."
|
|
1356
|
+
)
|
|
1357
|
+
saturation: rx.Var[int | float] = field(
|
|
1358
|
+
doc="Saturation amount for the final color. Default: 1.0."
|
|
1359
|
+
)
|
|
1360
|
+
center_x: rx.Var[int | float] = field(
|
|
1361
|
+
doc="Horizontal offset of the gradient center. Default: 0.0."
|
|
1362
|
+
)
|
|
1363
|
+
center_y: rx.Var[int | float] = field(
|
|
1364
|
+
doc="Vertical offset of the gradient center. Default: 0.0."
|
|
1365
|
+
)
|
|
1366
|
+
zoom: rx.Var[int | float] = field(
|
|
1367
|
+
doc="Zoom level for the gradient field. Default: 0.9."
|
|
1368
|
+
)
|
|
1369
|
+
color1: rx.Var[str] = field(
|
|
1370
|
+
doc="Primary light color used in the gradient blend. Default: '#FF9FFC'."
|
|
1371
|
+
)
|
|
1372
|
+
color2: rx.Var[str] = field(
|
|
1373
|
+
doc="Secondary accent color used in the gradient blend. Default: '#5227FF'."
|
|
1374
|
+
)
|
|
1375
|
+
color3: rx.Var[str] = field(
|
|
1376
|
+
doc="Deep base color used in the gradient blend. Default: '#B497CF'."
|
|
1377
|
+
)
|
|
1378
|
+
light_mode: rx.Var[bool] = field(
|
|
1379
|
+
doc="The `lightMode` prop. Default: false."
|
|
1380
|
+
)
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
class GridDistortion(ReactBitsComponent):
|
|
1384
|
+
"""Warped grid mesh distorts smoothly reacting to cursor.
|
|
1385
|
+
|
|
1386
|
+
Docs: https://reactbits.dev/backgrounds/grid-distortion
|
|
1387
|
+
"""
|
|
1388
|
+
|
|
1389
|
+
tag = "GridDistortion"
|
|
1390
|
+
alias = "ReactBitsGridDistortion"
|
|
1391
|
+
is_default = True
|
|
1392
|
+
_rb_category = "Backgrounds"
|
|
1393
|
+
_rb_name = "GridDistortion"
|
|
1394
|
+
_rb_files = ('GridDistortion.css', 'GridDistortion.jsx')
|
|
1395
|
+
lib_dependencies: list[str] = ['three@0.180.0']
|
|
1396
|
+
|
|
1397
|
+
grid: rx.Var[int | float] = field(
|
|
1398
|
+
doc="The number of cells present in the distortion grid. Default: 15."
|
|
1399
|
+
)
|
|
1400
|
+
mouse: rx.Var[int | float] = field(
|
|
1401
|
+
doc="The size of the distortion effect that follows the cursor. Default: 0.1."
|
|
1402
|
+
)
|
|
1403
|
+
strength: rx.Var[int | float] = field(
|
|
1404
|
+
doc="The overall strength of the distortion effect. Default: 0.15."
|
|
1405
|
+
)
|
|
1406
|
+
relaxation: rx.Var[int | float] = field(
|
|
1407
|
+
doc="The speed at which grid cells return to their initial state. Default: 0.9."
|
|
1408
|
+
)
|
|
1409
|
+
image_src: rx.Var[Any] = field(
|
|
1410
|
+
doc="The `imageSrc` prop."
|
|
1411
|
+
)
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
class GridMotion(ReactBitsComponent):
|
|
1415
|
+
"""Perspective moving grid lines based on cusror position.
|
|
1416
|
+
|
|
1417
|
+
Docs: https://reactbits.dev/backgrounds/grid-motion
|
|
1418
|
+
"""
|
|
1419
|
+
|
|
1420
|
+
tag = "GridMotion"
|
|
1421
|
+
alias = "ReactBitsGridMotion"
|
|
1422
|
+
is_default = True
|
|
1423
|
+
_rb_category = "Backgrounds"
|
|
1424
|
+
_rb_name = "GridMotion"
|
|
1425
|
+
_rb_files = ('GridMotion.css', 'GridMotion.jsx')
|
|
1426
|
+
lib_dependencies: list[str] = ['gsap@3.13.0']
|
|
1427
|
+
|
|
1428
|
+
items: rx.Var[list[Any]] = field(
|
|
1429
|
+
doc="An array of items to display in the grid. Each item can be a string, JSX element, or an image URL. Default: []."
|
|
1430
|
+
)
|
|
1431
|
+
gradient_color: rx.Var[str] = field(
|
|
1432
|
+
doc="Controls the color of the radial gradient used as the background. Default: 'black'."
|
|
1433
|
+
)
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
class GridScan(ReactBitsComponent):
|
|
1437
|
+
"""Animated grid room 3D scan effect and cool interactions.
|
|
1438
|
+
|
|
1439
|
+
Docs: https://reactbits.dev/backgrounds/grid-scan
|
|
1440
|
+
"""
|
|
1441
|
+
|
|
1442
|
+
tag = "GridScan"
|
|
1443
|
+
alias = "ReactBitsGridScan"
|
|
1444
|
+
is_default = False
|
|
1445
|
+
_rb_category = "Backgrounds"
|
|
1446
|
+
_rb_name = "GridScan"
|
|
1447
|
+
_rb_files = ('GridScan.css', 'GridScan.jsx')
|
|
1448
|
+
lib_dependencies: list[str] = ['face-api.js@0.22.2', 'postprocessing@6.37.8', 'three@0.180.0']
|
|
1449
|
+
|
|
1450
|
+
enable_webcam: rx.Var[bool] = field(
|
|
1451
|
+
doc="Enable face tracking via webcam. Default: false."
|
|
1452
|
+
)
|
|
1453
|
+
show_preview: rx.Var[bool] = field(
|
|
1454
|
+
doc="Show webcam preview/debug HUD. Default: false."
|
|
1455
|
+
)
|
|
1456
|
+
models_path: rx.Var[str] = field(
|
|
1457
|
+
doc="Path/URL to face-api.js models. Default: 'https://cdn.jsdelivr.net/gh/justadudewhohacks/face-api.j...."
|
|
1458
|
+
)
|
|
1459
|
+
sensitivity: rx.Var[int | float] = field(
|
|
1460
|
+
doc="Overall responsiveness to input. Default: 0.55."
|
|
1461
|
+
)
|
|
1462
|
+
line_thickness: rx.Var[int | float] = field(
|
|
1463
|
+
doc="Grid line thickness. Default: 1."
|
|
1464
|
+
)
|
|
1465
|
+
lines_color: rx.Var[str] = field(
|
|
1466
|
+
doc="Color of the grid lines. Default: '#2F293A'."
|
|
1467
|
+
)
|
|
1468
|
+
scan_color: rx.Var[str] = field(
|
|
1469
|
+
doc="Color of the scan beam/aura. Default: '#FF9FFC'."
|
|
1470
|
+
)
|
|
1471
|
+
scan_opacity: rx.Var[int | float] = field(
|
|
1472
|
+
doc="Opacity of the scan effect. Default: 0.4."
|
|
1473
|
+
)
|
|
1474
|
+
grid_scale: rx.Var[int | float] = field(
|
|
1475
|
+
doc="Grid spacing scale (smaller = denser). Default: 0.1."
|
|
1476
|
+
)
|
|
1477
|
+
line_style: rx.Var[Literal["solid", "dashed", "dotted"]] = field(
|
|
1478
|
+
doc="Grid line style. Default: 'solid'."
|
|
1479
|
+
)
|
|
1480
|
+
line_jitter: rx.Var[int | float] = field(
|
|
1481
|
+
doc="Animated jitter along the grid lines. Default: 0.1."
|
|
1482
|
+
)
|
|
1483
|
+
scan_direction: rx.Var[Literal["forward", "backward", "pingpong"]] = field(
|
|
1484
|
+
doc="Scan motion. Default: 'pingpong'."
|
|
1485
|
+
)
|
|
1486
|
+
enable_post: rx.Var[bool] = field(
|
|
1487
|
+
doc="Enable post-processing effects. Default: true."
|
|
1488
|
+
)
|
|
1489
|
+
bloom_intensity: rx.Var[int | float] = field(
|
|
1490
|
+
doc="Bloom strength. Default: 0."
|
|
1491
|
+
)
|
|
1492
|
+
bloom_threshold: rx.Var[int | float] = field(
|
|
1493
|
+
doc="Bloom luminance threshold. Default: 0."
|
|
1494
|
+
)
|
|
1495
|
+
bloom_smoothing: rx.Var[int | float] = field(
|
|
1496
|
+
doc="Bloom threshold smoothing. Default: 0."
|
|
1497
|
+
)
|
|
1498
|
+
chromatic_aberration: rx.Var[int | float] = field(
|
|
1499
|
+
doc="Chromatic aberration offset (post). Default: 0.002."
|
|
1500
|
+
)
|
|
1501
|
+
noise_intensity: rx.Var[int | float] = field(
|
|
1502
|
+
doc="Additive film grain intensity. Default: 0.01."
|
|
1503
|
+
)
|
|
1504
|
+
scan_glow: rx.Var[int | float] = field(
|
|
1505
|
+
doc="Relative width/intensity of glow. Default: 0.5."
|
|
1506
|
+
)
|
|
1507
|
+
scan_softness: rx.Var[int | float] = field(
|
|
1508
|
+
doc="Softness of scan band edges. Default: 2."
|
|
1509
|
+
)
|
|
1510
|
+
scan_phase_taper: rx.Var[int | float] = field(
|
|
1511
|
+
doc="Fade-in/out window for the phase. Default: 0.9."
|
|
1512
|
+
)
|
|
1513
|
+
scan_duration: rx.Var[int | float] = field(
|
|
1514
|
+
doc="Duration of a scan cycle (seconds). Default: 2.0."
|
|
1515
|
+
)
|
|
1516
|
+
scan_delay: rx.Var[int | float] = field(
|
|
1517
|
+
doc="Delay between scan cycles (seconds). Default: 2.0."
|
|
1518
|
+
)
|
|
1519
|
+
enable_gyro: rx.Var[bool] = field(
|
|
1520
|
+
doc="Use device orientation for input. Default: false."
|
|
1521
|
+
)
|
|
1522
|
+
scan_on_click: rx.Var[bool] = field(
|
|
1523
|
+
doc="Trigger a scan when clicking. Default: false."
|
|
1524
|
+
)
|
|
1525
|
+
snap_back_delay: rx.Var[int | float] = field(
|
|
1526
|
+
doc="Delay (ms) before input recenters. Default: 250."
|
|
1527
|
+
)
|
|
1528
|
+
light_mode: rx.Var[bool] = field(
|
|
1529
|
+
doc="The `lightMode` prop. Default: false."
|
|
1530
|
+
)
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
class Hyperspeed(ReactBitsComponent):
|
|
1534
|
+
"""Animated lines continuously moving to simulate hyperspace travel on click hold.
|
|
1535
|
+
|
|
1536
|
+
Docs: https://reactbits.dev/backgrounds/hyperspeed
|
|
1537
|
+
"""
|
|
1538
|
+
|
|
1539
|
+
tag = "Hyperspeed"
|
|
1540
|
+
alias = "ReactBitsHyperspeed"
|
|
1541
|
+
is_default = True
|
|
1542
|
+
_rb_category = "Backgrounds"
|
|
1543
|
+
_rb_name = "Hyperspeed"
|
|
1544
|
+
_rb_files = ('HyperSpeedPresets.js', 'Hyperspeed.css', 'Hyperspeed.jsx')
|
|
1545
|
+
lib_dependencies: list[str] = ['postprocessing@6.37.8', 'three@0.180.0']
|
|
1546
|
+
|
|
1547
|
+
effect_options: rx.Var[dict[str, Any]] = field(
|
|
1548
|
+
doc="The highly customizable configuration object for the effect, controls things like colors, distortion, line properties, etc. Default: DEFAULT_EFFECT_OPTIONS."
|
|
1549
|
+
)
|
|
1550
|
+
light_mode: rx.Var[bool] = field(
|
|
1551
|
+
doc="The `lightMode` prop. Default: false."
|
|
1552
|
+
)
|
|
1553
|
+
|
|
1554
|
+
@classmethod
|
|
1555
|
+
def create(cls, *children, preset: str | None = None, **props):
|
|
1556
|
+
"""Create the component.
|
|
1557
|
+
|
|
1558
|
+
Args:
|
|
1559
|
+
*children: Children (unused).
|
|
1560
|
+
preset: Name of a built-in React Bits preset ("one" .. "six"). Ignored if
|
|
1561
|
+
``effect_options`` is given.
|
|
1562
|
+
**props: Component props.
|
|
1563
|
+
|
|
1564
|
+
Returns:
|
|
1565
|
+
The component.
|
|
1566
|
+
"""
|
|
1567
|
+
if preset is not None and "effect_options" not in props:
|
|
1568
|
+
ensure_component_source(cls._rb_category, cls._rb_name, cls._rb_files)
|
|
1569
|
+
props["effect_options"] = rx.Var(
|
|
1570
|
+
f"hyperspeedPresets[{json.dumps(preset)}]",
|
|
1571
|
+
_var_data=VarData(
|
|
1572
|
+
imports={
|
|
1573
|
+
f"$/public/{ASSETS_SUBDIR}/Backgrounds/Hyperspeed/HyperSpeedPresets.js": [
|
|
1574
|
+
ImportVar(tag="hyperspeedPresets")
|
|
1575
|
+
]
|
|
1576
|
+
}
|
|
1577
|
+
),
|
|
1578
|
+
)
|
|
1579
|
+
return super().create(*children, **props)
|
|
1580
|
+
|
|
1581
|
+
|
|
1582
|
+
class Iridescence(ReactBitsComponent):
|
|
1583
|
+
"""Slick iridescent shader with shifting waves.
|
|
1584
|
+
|
|
1585
|
+
Docs: https://reactbits.dev/backgrounds/iridescence
|
|
1586
|
+
"""
|
|
1587
|
+
|
|
1588
|
+
tag = "Iridescence"
|
|
1589
|
+
alias = "ReactBitsIridescence"
|
|
1590
|
+
is_default = True
|
|
1591
|
+
_rb_category = "Backgrounds"
|
|
1592
|
+
_rb_name = "Iridescence"
|
|
1593
|
+
_rb_files = ('Iridescence.css', 'Iridescence.jsx')
|
|
1594
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1595
|
+
|
|
1596
|
+
color: rx.Var[list[int | float]] = field(
|
|
1597
|
+
doc="Base color as an array of RGB values (each between 0 and 1). Default: [1, 1, 1]."
|
|
1598
|
+
)
|
|
1599
|
+
speed: rx.Var[int | float] = field(
|
|
1600
|
+
doc="Speed multiplier for the animation. Default: 1.0."
|
|
1601
|
+
)
|
|
1602
|
+
amplitude: rx.Var[int | float] = field(
|
|
1603
|
+
doc="Amplitude for the mouse-driven effect. Default: 0.1."
|
|
1604
|
+
)
|
|
1605
|
+
mouse_react: rx.Var[bool] = field(
|
|
1606
|
+
doc="Enable or disable mouse interaction with the shader. Default: true."
|
|
1607
|
+
)
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
class LetterGlitch(ReactBitsComponent):
|
|
1611
|
+
"""Matrix style letter animation.
|
|
1612
|
+
|
|
1613
|
+
Docs: https://reactbits.dev/backgrounds/letter-glitch
|
|
1614
|
+
"""
|
|
1615
|
+
|
|
1616
|
+
tag = "LetterGlitch"
|
|
1617
|
+
alias = "ReactBitsLetterGlitch"
|
|
1618
|
+
is_default = True
|
|
1619
|
+
_rb_category = "Backgrounds"
|
|
1620
|
+
_rb_name = "LetterGlitch"
|
|
1621
|
+
_rb_files = ('LetterGlitch.jsx',)
|
|
1622
|
+
|
|
1623
|
+
glitch_colors: rx.Var[list[str]] = field(
|
|
1624
|
+
doc="Controls the colors of the letters rendered in the canvas. Default: ['#2b4539', '#61dca3', '#61b3dc']."
|
|
1625
|
+
)
|
|
1626
|
+
glitch_speed: rx.Var[int | float] = field(
|
|
1627
|
+
doc="Controls the speed at which letters scramble in the animation. Default: 50."
|
|
1628
|
+
)
|
|
1629
|
+
center_vignette: rx.Var[bool] = field(
|
|
1630
|
+
doc="When true, renders a radial gradient in the center of the container. Default: false."
|
|
1631
|
+
)
|
|
1632
|
+
outer_vignette: rx.Var[bool] = field(
|
|
1633
|
+
doc="When true, renders an inner radial gradient around the edges of the container. Default: true."
|
|
1634
|
+
)
|
|
1635
|
+
smooth: rx.Var[bool] = field(
|
|
1636
|
+
doc="When true, smoothens the animation of the letters for a more subtle feel. Default: true."
|
|
1637
|
+
)
|
|
1638
|
+
light_mode: rx.Var[bool] = field(
|
|
1639
|
+
doc="The `lightMode` prop. Default: false."
|
|
1640
|
+
)
|
|
1641
|
+
background_color: rx.Var[Any] = field(
|
|
1642
|
+
doc="The `backgroundColor` prop."
|
|
1643
|
+
)
|
|
1644
|
+
characters: rx.Var[str] = field(
|
|
1645
|
+
doc="String of characters to render in the canvas. Default: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$&*()-_+=/[]{};:<>.,0123456...."
|
|
1646
|
+
)
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
class LightPillar(ReactBitsComponent):
|
|
1650
|
+
"""Vertical pillar of light with glow effects.
|
|
1651
|
+
|
|
1652
|
+
Docs: https://reactbits.dev/backgrounds/light-pillar
|
|
1653
|
+
"""
|
|
1654
|
+
|
|
1655
|
+
tag = "LightPillar"
|
|
1656
|
+
alias = "ReactBitsLightPillar"
|
|
1657
|
+
is_default = True
|
|
1658
|
+
_rb_category = "Backgrounds"
|
|
1659
|
+
_rb_name = "LightPillar"
|
|
1660
|
+
_rb_files = ('LightPillar.css', 'LightPillar.jsx')
|
|
1661
|
+
lib_dependencies: list[str] = ['three@0.180.0']
|
|
1662
|
+
|
|
1663
|
+
top_color: rx.Var[str] = field(
|
|
1664
|
+
doc="Hex color string for the top gradient color of the light pillar. Default: '#5227FF'."
|
|
1665
|
+
)
|
|
1666
|
+
bottom_color: rx.Var[str] = field(
|
|
1667
|
+
doc="Hex color string for the bottom gradient color of the light pillar. Default: '#FF9FFC'."
|
|
1668
|
+
)
|
|
1669
|
+
intensity: rx.Var[int | float] = field(
|
|
1670
|
+
doc="Controls the overall brightness and intensity of the effect. Default: 1.0."
|
|
1671
|
+
)
|
|
1672
|
+
rotation_speed: rx.Var[int | float] = field(
|
|
1673
|
+
doc="Speed multiplier for the pillar rotation animation. Default: 0.3."
|
|
1674
|
+
)
|
|
1675
|
+
interactive: rx.Var[bool] = field(
|
|
1676
|
+
doc="Enable mouse interaction to control the pillar rotation. Default: false."
|
|
1677
|
+
)
|
|
1678
|
+
glow_amount: rx.Var[int | float] = field(
|
|
1679
|
+
doc="Controls the glow intensity and spread of the light effect. Default: 0.005."
|
|
1680
|
+
)
|
|
1681
|
+
pillar_width: rx.Var[int | float] = field(
|
|
1682
|
+
doc="Width/radius of the light pillar. Default: 3.0."
|
|
1683
|
+
)
|
|
1684
|
+
pillar_height: rx.Var[int | float] = field(
|
|
1685
|
+
doc="Height scaling factor for the pillar distortion. Default: 0.4."
|
|
1686
|
+
)
|
|
1687
|
+
noise_intensity: rx.Var[int | float] = field(
|
|
1688
|
+
doc="Intensity of the film grain noise postprocessing effect. Default: 0.5."
|
|
1689
|
+
)
|
|
1690
|
+
mix_blend_mode: rx.Var[str] = field(
|
|
1691
|
+
doc="CSS mix-blend-mode property to control how the component blends with its background. Default: 'screen'."
|
|
1692
|
+
)
|
|
1693
|
+
pillar_rotation: rx.Var[int | float] = field(
|
|
1694
|
+
doc="Rotation angle of the pillar in degrees (0-360). Default: 0."
|
|
1695
|
+
)
|
|
1696
|
+
quality: rx.Var[Literal["low", "medium", "high"]] = field(
|
|
1697
|
+
doc="Rendering quality level. Lower settings improve performance on mobile devices. Mobile devices automatically downgrade from high to medium. Default: 'high'."
|
|
1698
|
+
)
|
|
1699
|
+
light_mode: rx.Var[bool] = field(
|
|
1700
|
+
doc="The `lightMode` prop. Default: false."
|
|
1701
|
+
)
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
class LightRays(ReactBitsComponent):
|
|
1705
|
+
"""Volumetric light rays/beams with customizable direction.
|
|
1706
|
+
|
|
1707
|
+
Docs: https://reactbits.dev/backgrounds/light-rays
|
|
1708
|
+
"""
|
|
1709
|
+
|
|
1710
|
+
tag = "LightRays"
|
|
1711
|
+
alias = "ReactBitsLightRays"
|
|
1712
|
+
is_default = True
|
|
1713
|
+
_rb_category = "Backgrounds"
|
|
1714
|
+
_rb_name = "LightRays"
|
|
1715
|
+
_rb_files = ('LightRays.css', 'LightRays.jsx')
|
|
1716
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1717
|
+
|
|
1718
|
+
rays_origin: rx.Var[str] = field(
|
|
1719
|
+
doc="Origin position of the light rays. Options: 'top-center', 'top-left', 'top-right', 'right', 'left', 'bottom-center', 'bottom-right', 'bottom-left'. Default: 'top-center'."
|
|
1720
|
+
)
|
|
1721
|
+
rays_color: rx.Var[str] = field(
|
|
1722
|
+
doc="Color of the light rays in hex format. Default: DEFAULT_COLOR."
|
|
1723
|
+
)
|
|
1724
|
+
rays_speed: rx.Var[int | float] = field(
|
|
1725
|
+
doc="Animation speed of the rays. Default: 1."
|
|
1726
|
+
)
|
|
1727
|
+
light_spread: rx.Var[int | float] = field(
|
|
1728
|
+
doc="How wide the light rays spread. Lower values = tighter rays, higher values = wider spread. Default: 1."
|
|
1729
|
+
)
|
|
1730
|
+
ray_length: rx.Var[int | float] = field(
|
|
1731
|
+
doc="Maximum length/reach of the rays. Default: 2."
|
|
1732
|
+
)
|
|
1733
|
+
pulsating: rx.Var[bool] = field(
|
|
1734
|
+
doc="Enable pulsing animation effect. Default: false."
|
|
1735
|
+
)
|
|
1736
|
+
fade_distance: rx.Var[int | float] = field(
|
|
1737
|
+
doc="How far rays fade out from origin. Default: 1.0."
|
|
1738
|
+
)
|
|
1739
|
+
saturation: rx.Var[int | float] = field(
|
|
1740
|
+
doc="Color saturation level (0-1). Default: 1.0."
|
|
1741
|
+
)
|
|
1742
|
+
follow_mouse: rx.Var[bool] = field(
|
|
1743
|
+
doc="Make rays rotate towards the mouse cursor. Default: true."
|
|
1744
|
+
)
|
|
1745
|
+
mouse_influence: rx.Var[int | float] = field(
|
|
1746
|
+
doc="How much mouse affects rays (0-1). Default: 0.1."
|
|
1747
|
+
)
|
|
1748
|
+
noise_amount: rx.Var[int | float] = field(
|
|
1749
|
+
doc="Add noise/grain to rays (0-1). Default: 0.0."
|
|
1750
|
+
)
|
|
1751
|
+
distortion: rx.Var[int | float] = field(
|
|
1752
|
+
doc="Apply wave distortion to rays. Default: 0.0."
|
|
1753
|
+
)
|
|
1754
|
+
light_mode: rx.Var[bool] = field(
|
|
1755
|
+
doc="The `lightMode` prop. Default: false."
|
|
1756
|
+
)
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
class LightTunnel(ReactBitsComponent):
|
|
1760
|
+
"""A radial fibre-optic tunnel with light pulses racing into depth.
|
|
1761
|
+
|
|
1762
|
+
Docs: https://reactbits.dev/backgrounds/light-tunnel
|
|
1763
|
+
"""
|
|
1764
|
+
|
|
1765
|
+
tag = "LightTunnel"
|
|
1766
|
+
alias = "ReactBitsLightTunnel"
|
|
1767
|
+
is_default = True
|
|
1768
|
+
_rb_category = "Backgrounds"
|
|
1769
|
+
_rb_name = "LightTunnel"
|
|
1770
|
+
_rb_files = ('LightTunnel.css', 'LightTunnel.jsx')
|
|
1771
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1772
|
+
|
|
1773
|
+
cable_color: rx.Var[str] = field(
|
|
1774
|
+
doc="Base color of the fibre-optic cables. Default: '#A855F7'."
|
|
1775
|
+
)
|
|
1776
|
+
pulse_color: rx.Var[str] = field(
|
|
1777
|
+
doc="Color of the light pulses travelling along each cable. Default: '#A855F7'."
|
|
1778
|
+
)
|
|
1779
|
+
tunnel_color: rx.Var[str] = field(
|
|
1780
|
+
doc="Tint color of the cable body fill (visible when tunnelOpacity is above 0). Default: '#5227FF'."
|
|
1781
|
+
)
|
|
1782
|
+
tunnel_opacity: rx.Var[int | float] = field(
|
|
1783
|
+
doc="Opacity of the cable body fill. 0 leaves the tunnel see-through so only rims and pulses show. Default: 0."
|
|
1784
|
+
)
|
|
1785
|
+
speed: rx.Var[int | float] = field(
|
|
1786
|
+
doc="Overall scroll speed of the pulses down the tunnel. Default: 0.1."
|
|
1787
|
+
)
|
|
1788
|
+
flow_direction: rx.Var[Literal["inward", "outward"]] = field(
|
|
1789
|
+
doc="Whether the light travels toward or away from the vanishing point. Default: 'outward'."
|
|
1790
|
+
)
|
|
1791
|
+
pulse_speed: rx.Var[int | float] = field(
|
|
1792
|
+
doc="Speed multiplier for the individual light pulses. Default: 2."
|
|
1793
|
+
)
|
|
1794
|
+
pulse_length: rx.Var[int | float] = field(
|
|
1795
|
+
doc="Length of the glowing pulse along each cable. Default: 0.28."
|
|
1796
|
+
)
|
|
1797
|
+
pulse_blend: rx.Var[int | float] = field(
|
|
1798
|
+
doc="How softly the pulse fades out at its edges \u2014 low is a crisp packet, high is a long smooth trail. Default: 1."
|
|
1799
|
+
)
|
|
1800
|
+
pulse_width: rx.Var[int | float] = field(
|
|
1801
|
+
doc="How much of the cable cross-section the pulse lights up \u2014 1 fills the cable, lower narrows it to a filament. Default: 1."
|
|
1802
|
+
)
|
|
1803
|
+
cable_count: rx.Var[int | float] = field(
|
|
1804
|
+
doc="Number of cables radiating around the tunnel. Default: 20."
|
|
1805
|
+
)
|
|
1806
|
+
thickness: rx.Var[int | float] = field(
|
|
1807
|
+
doc="Thickness of each cable core. Default: 0.35."
|
|
1808
|
+
)
|
|
1809
|
+
rim_width: rx.Var[int | float] = field(
|
|
1810
|
+
doc="Width of the soft outline glow around each cable. Default: 0.15."
|
|
1811
|
+
)
|
|
1812
|
+
waviness: rx.Var[int | float] = field(
|
|
1813
|
+
doc="Amount of wavy distortion applied along the tunnel depth. Default: 0.3."
|
|
1814
|
+
)
|
|
1815
|
+
sway: rx.Var[int | float] = field(
|
|
1816
|
+
doc="Strength of the gentle rotational sway of the tunnel. Default: 0.5."
|
|
1817
|
+
)
|
|
1818
|
+
size: rx.Var[int | float] = field(
|
|
1819
|
+
doc="Zoom / scale of the tunnel field. Default: 1.0."
|
|
1820
|
+
)
|
|
1821
|
+
center_x: rx.Var[int | float] = field(
|
|
1822
|
+
doc="Horizontal offset of the vanishing point. Default: 0.0."
|
|
1823
|
+
)
|
|
1824
|
+
center_y: rx.Var[int | float] = field(
|
|
1825
|
+
doc="Vertical offset of the vanishing point. Default: 0.0."
|
|
1826
|
+
)
|
|
1827
|
+
glow: rx.Var[int | float] = field(
|
|
1828
|
+
doc="Intensity of the cable rim glow. Default: 1.0."
|
|
1829
|
+
)
|
|
1830
|
+
fade_near: rx.Var[int | float] = field(
|
|
1831
|
+
doc="Radius over which the tunnel fades in near the center. Default: 0.5."
|
|
1832
|
+
)
|
|
1833
|
+
fade_far: rx.Var[int | float] = field(
|
|
1834
|
+
doc="Radius at which the tunnel fades out toward the edges. Default: 2."
|
|
1835
|
+
)
|
|
1836
|
+
brightness: rx.Var[int | float] = field(
|
|
1837
|
+
doc="Overall brightness multiplier of the effect. Default: 1.0."
|
|
1838
|
+
)
|
|
1839
|
+
color_variance: rx.Var[bool] = field(
|
|
1840
|
+
doc="Adds subtle per-cable color variation so cables are not uniform. Default: true."
|
|
1841
|
+
)
|
|
1842
|
+
grain: rx.Var[bool] = field(
|
|
1843
|
+
doc="Adds a whisper-subtle animated film grain to break up banding in the gradients. Default: true."
|
|
1844
|
+
)
|
|
1845
|
+
grain_intensity: rx.Var[int | float] = field(
|
|
1846
|
+
doc="Amplitude of the grain overlay. 0 disables it entirely. Default: 0.05."
|
|
1847
|
+
)
|
|
1848
|
+
opacity: rx.Var[int | float] = field(
|
|
1849
|
+
doc="Global opacity of the rendered tunnel. Default: 1.0."
|
|
1850
|
+
)
|
|
1851
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
1852
|
+
doc="Enables gentle parallax of the vanishing point toward the pointer. Default: true."
|
|
1853
|
+
)
|
|
1854
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
1855
|
+
doc="Magnitude of the cursor parallax drift. Default: 0.1."
|
|
1856
|
+
)
|
|
1857
|
+
light_mode: rx.Var[bool] = field(
|
|
1858
|
+
doc="The `lightMode` prop. Default: false."
|
|
1859
|
+
)
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
class Lightfall(ReactBitsComponent):
|
|
1863
|
+
"""Colorful light streaks raining down a glowing tunnel with a cursor light.
|
|
1864
|
+
|
|
1865
|
+
Docs: https://reactbits.dev/backgrounds/lightfall
|
|
1866
|
+
"""
|
|
1867
|
+
|
|
1868
|
+
tag = "Lightfall"
|
|
1869
|
+
alias = "ReactBitsLightfall"
|
|
1870
|
+
is_default = True
|
|
1871
|
+
_rb_category = "Backgrounds"
|
|
1872
|
+
_rb_name = "Lightfall"
|
|
1873
|
+
_rb_files = ('Lightfall.css', 'Lightfall.jsx')
|
|
1874
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1875
|
+
|
|
1876
|
+
dpr: rx.Var[int | float] = field(
|
|
1877
|
+
doc="Overrides device pixel ratio; lower for performance, higher for sharpness. Default: window.devicePixelRatio."
|
|
1878
|
+
)
|
|
1879
|
+
paused: rx.Var[bool] = field(
|
|
1880
|
+
doc="If true, stops rendering updates (freezing the current frame). Default: false."
|
|
1881
|
+
)
|
|
1882
|
+
colors: rx.Var[list[str]] = field(
|
|
1883
|
+
doc="Array of hex colors (up to 8) used to tint the falling light streaks. Each streak is randomly but evenly assigned one of the colors; a single color makes the whole effect uniform. Default: ['#A6C8FF', '#5227FF', '#FF9FFC']."
|
|
1884
|
+
)
|
|
1885
|
+
background_color: rx.Var[str] = field(
|
|
1886
|
+
doc="Hex color of the soft ambient glow behind the streaks. Default: '#0A29FF'."
|
|
1887
|
+
)
|
|
1888
|
+
speed: rx.Var[int | float] = field(
|
|
1889
|
+
doc="Multiplier for how fast the light streaks fall. Default: 0.5."
|
|
1890
|
+
)
|
|
1891
|
+
streak_count: rx.Var[int | float] = field(
|
|
1892
|
+
doc="Number of streak layers rendered per cell (1\u201316). Higher = busier. Default: 2."
|
|
1893
|
+
)
|
|
1894
|
+
streak_width: rx.Var[int | float] = field(
|
|
1895
|
+
doc="Thickness of each light streak. Default: 1."
|
|
1896
|
+
)
|
|
1897
|
+
streak_length: rx.Var[int | float] = field(
|
|
1898
|
+
doc="Length of the glowing tail trailing each streak. Default: 1."
|
|
1899
|
+
)
|
|
1900
|
+
glow: rx.Var[int | float] = field(
|
|
1901
|
+
doc="Overall brightness multiplier applied before tone mapping. Default: 1."
|
|
1902
|
+
)
|
|
1903
|
+
density: rx.Var[int | float] = field(
|
|
1904
|
+
doc="Vertical frequency of streaks. Higher values pack more streaks into view. Default: 0.6."
|
|
1905
|
+
)
|
|
1906
|
+
twinkle: rx.Var[int | float] = field(
|
|
1907
|
+
doc="Amount of per\u2011streak brightness flicker. 0 = constant brightness. Default: 1."
|
|
1908
|
+
)
|
|
1909
|
+
zoom: rx.Var[int | float] = field(
|
|
1910
|
+
doc="Field of view into the tunnel. Higher values zoom further in. Default: 3."
|
|
1911
|
+
)
|
|
1912
|
+
background_glow: rx.Var[int | float] = field(
|
|
1913
|
+
doc="Intensity of the ambient background glow. Default: 0.5."
|
|
1914
|
+
)
|
|
1915
|
+
opacity: rx.Var[int | float] = field(
|
|
1916
|
+
doc="Overall alpha of the rendered canvas. Default: 1."
|
|
1917
|
+
)
|
|
1918
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
1919
|
+
doc="Enables a soft light that follows the cursor and flares nearby streaks (no warping). Default: true."
|
|
1920
|
+
)
|
|
1921
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
1922
|
+
doc="Intensity of the cursor light. Default: 0.5."
|
|
1923
|
+
)
|
|
1924
|
+
mouse_radius: rx.Var[int | float] = field(
|
|
1925
|
+
doc="Falloff radius of the cursor light. Default: 1."
|
|
1926
|
+
)
|
|
1927
|
+
mouse_dampening: rx.Var[int | float] = field(
|
|
1928
|
+
doc="Easing time constant (seconds) for the cursor light to follow the pointer. 0 = immediate. Default: 0.15."
|
|
1929
|
+
)
|
|
1930
|
+
light_mode: rx.Var[bool] = field(
|
|
1931
|
+
doc="The `lightMode` prop. Default: false."
|
|
1932
|
+
)
|
|
1933
|
+
mix_blend_mode: rx.Var[str] = field(
|
|
1934
|
+
doc="CSS mix-blend-mode applied to the canvas (e.g. 'screen', 'lighten')."
|
|
1935
|
+
)
|
|
1936
|
+
|
|
1937
|
+
|
|
1938
|
+
class Lightning(ReactBitsComponent):
|
|
1939
|
+
"""Procedural lightning bolts with branching and glow flicker.
|
|
1940
|
+
|
|
1941
|
+
Docs: https://reactbits.dev/backgrounds/lightning
|
|
1942
|
+
"""
|
|
1943
|
+
|
|
1944
|
+
tag = "Lightning"
|
|
1945
|
+
alias = "ReactBitsLightning"
|
|
1946
|
+
is_default = True
|
|
1947
|
+
_rb_category = "Backgrounds"
|
|
1948
|
+
_rb_name = "Lightning"
|
|
1949
|
+
_rb_files = ('Lightning.css', 'Lightning.jsx')
|
|
1950
|
+
|
|
1951
|
+
hue: rx.Var[int | float] = field(
|
|
1952
|
+
doc="Hue of the lightning in degrees (0 to 360). Default: 230."
|
|
1953
|
+
)
|
|
1954
|
+
x_offset: rx.Var[int | float] = field(
|
|
1955
|
+
doc="Horizontal offset of the lightning in normalized units. Default: 0."
|
|
1956
|
+
)
|
|
1957
|
+
speed: rx.Var[int | float] = field(
|
|
1958
|
+
doc="Animation speed multiplier for the lightning. Default: 1."
|
|
1959
|
+
)
|
|
1960
|
+
intensity: rx.Var[int | float] = field(
|
|
1961
|
+
doc="Brightness multiplier for the lightning. Default: 1."
|
|
1962
|
+
)
|
|
1963
|
+
size: rx.Var[int | float] = field(
|
|
1964
|
+
doc="Scale factor for the bolt size. Default: 1."
|
|
1965
|
+
)
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
class LineWaves(ReactBitsComponent):
|
|
1969
|
+
"""Animated line wave pattern with colorful warped distortion.
|
|
1970
|
+
|
|
1971
|
+
Docs: https://reactbits.dev/backgrounds/line-waves
|
|
1972
|
+
"""
|
|
1973
|
+
|
|
1974
|
+
tag = "LineWaves"
|
|
1975
|
+
alias = "ReactBitsLineWaves"
|
|
1976
|
+
is_default = True
|
|
1977
|
+
_rb_category = "Backgrounds"
|
|
1978
|
+
_rb_name = "LineWaves"
|
|
1979
|
+
_rb_files = ('LineWaves.css', 'LineWaves.jsx')
|
|
1980
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
1981
|
+
|
|
1982
|
+
speed: rx.Var[int | float] = field(
|
|
1983
|
+
doc="Overall animation speed multiplier. Default: 0.3."
|
|
1984
|
+
)
|
|
1985
|
+
inner_line_count: rx.Var[int | float] = field(
|
|
1986
|
+
doc="Number of lines in the inner (center) wave region. Default: 32.0."
|
|
1987
|
+
)
|
|
1988
|
+
outer_line_count: rx.Var[int | float] = field(
|
|
1989
|
+
doc="Number of lines in the outer (edge) wave region. Default: 36.0."
|
|
1990
|
+
)
|
|
1991
|
+
warp_intensity: rx.Var[int | float] = field(
|
|
1992
|
+
doc="Intensity of the wave distortion effect. Default: 1.0."
|
|
1993
|
+
)
|
|
1994
|
+
rotation: rx.Var[int | float] = field(
|
|
1995
|
+
doc="Rotation of the wave pattern in degrees. Default: -45."
|
|
1996
|
+
)
|
|
1997
|
+
edge_fade_width: rx.Var[int | float] = field(
|
|
1998
|
+
doc="Width of the edge fade between inner and outer regions. Default: 0.0."
|
|
1999
|
+
)
|
|
2000
|
+
color_cycle_speed: rx.Var[int | float] = field(
|
|
2001
|
+
doc="Speed of color cycling animation. Default: 1.0."
|
|
2002
|
+
)
|
|
2003
|
+
brightness: rx.Var[int | float] = field(
|
|
2004
|
+
doc="Overall brightness multiplier. Default: 0.2."
|
|
2005
|
+
)
|
|
2006
|
+
color1: rx.Var[str] = field(
|
|
2007
|
+
doc="First color channel in HEX format. Default: '#ffffff'."
|
|
2008
|
+
)
|
|
2009
|
+
color2: rx.Var[str] = field(
|
|
2010
|
+
doc="Second color channel in HEX format. Default: '#ffffff'."
|
|
2011
|
+
)
|
|
2012
|
+
color3: rx.Var[str] = field(
|
|
2013
|
+
doc="Third color channel in HEX format. Default: '#ffffff'."
|
|
2014
|
+
)
|
|
2015
|
+
enable_mouse_interaction: rx.Var[bool] = field(
|
|
2016
|
+
doc="Enable cursor-reactive wave distortion. Default: true."
|
|
2017
|
+
)
|
|
2018
|
+
mouse_influence: rx.Var[int | float] = field(
|
|
2019
|
+
doc="Strength of mouse influence on the wave pattern. Default: 2.0."
|
|
2020
|
+
)
|
|
2021
|
+
light_mode: rx.Var[bool] = field(
|
|
2022
|
+
doc="The `lightMode` prop. Default: false."
|
|
2023
|
+
)
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
class LiquidChrome(ReactBitsComponent):
|
|
2027
|
+
"""Liquid metallic chrome shader with flowing reflective surface.
|
|
2028
|
+
|
|
2029
|
+
Docs: https://reactbits.dev/backgrounds/liquid-chrome
|
|
2030
|
+
"""
|
|
2031
|
+
|
|
2032
|
+
tag = "LiquidChrome"
|
|
2033
|
+
alias = "ReactBitsLiquidChrome"
|
|
2034
|
+
is_default = True
|
|
2035
|
+
_rb_category = "Backgrounds"
|
|
2036
|
+
_rb_name = "LiquidChrome"
|
|
2037
|
+
_rb_files = ('LiquidChrome.css', 'LiquidChrome.jsx')
|
|
2038
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2039
|
+
|
|
2040
|
+
base_color: rx.Var[list[int | float]] = field(
|
|
2041
|
+
doc="Base color of the component. Specify as an RGB array. Default: [0.1, 0.1, 0.1]."
|
|
2042
|
+
)
|
|
2043
|
+
speed: rx.Var[int | float] = field(
|
|
2044
|
+
doc="Animation speed multiplier. Default: 0.2."
|
|
2045
|
+
)
|
|
2046
|
+
amplitude: rx.Var[int | float] = field(
|
|
2047
|
+
doc="Amplitude of the distortion. Default: 0.3."
|
|
2048
|
+
)
|
|
2049
|
+
frequency_x: rx.Var[int | float] = field(
|
|
2050
|
+
doc="Frequency modifier for the x distortion. Default: 3."
|
|
2051
|
+
)
|
|
2052
|
+
frequency_y: rx.Var[int | float] = field(
|
|
2053
|
+
doc="Frequency modifier for the y distortion. Default: 3."
|
|
2054
|
+
)
|
|
2055
|
+
interactive: rx.Var[bool] = field(
|
|
2056
|
+
doc="Enable mouse/touch interaction. Default: true."
|
|
2057
|
+
)
|
|
2058
|
+
|
|
2059
|
+
|
|
2060
|
+
class LiquidEther(ReactBitsComponent):
|
|
2061
|
+
"""Interactive liquid shader with flowing distortion and customizable colors.
|
|
2062
|
+
|
|
2063
|
+
Docs: https://reactbits.dev/backgrounds/liquid-ether
|
|
2064
|
+
"""
|
|
2065
|
+
|
|
2066
|
+
tag = "LiquidEther"
|
|
2067
|
+
alias = "ReactBitsLiquidEther"
|
|
2068
|
+
is_default = True
|
|
2069
|
+
_rb_category = "Backgrounds"
|
|
2070
|
+
_rb_name = "LiquidEther"
|
|
2071
|
+
_rb_files = ('LiquidEther.css', 'LiquidEther.jsx')
|
|
2072
|
+
lib_dependencies: list[str] = ['three@0.180.0']
|
|
2073
|
+
_rename_props = {'bfecc': 'BFECC'}
|
|
2074
|
+
|
|
2075
|
+
mouse_force: rx.Var[int | float] = field(
|
|
2076
|
+
doc="Strength multiplier applied to mouse / touch movement when injecting velocity. Default: 20."
|
|
2077
|
+
)
|
|
2078
|
+
cursor_size: rx.Var[int | float] = field(
|
|
2079
|
+
doc="Radius (in pixels at base resolution) of the force brush. Default: 100."
|
|
2080
|
+
)
|
|
2081
|
+
is_viscous: rx.Var[bool] = field(
|
|
2082
|
+
doc="Toggle iterative viscosity solve (smoother, thicker motion when enabled). Default: false."
|
|
2083
|
+
)
|
|
2084
|
+
viscous: rx.Var[int | float] = field(
|
|
2085
|
+
doc="Viscosity coefficient used when isViscous is true. Default: 30."
|
|
2086
|
+
)
|
|
2087
|
+
iterations_viscous: rx.Var[int | float] = field(
|
|
2088
|
+
doc="Number of Gauss-Seidel iterations for viscosity (higher = smoother, slower). Default: 32."
|
|
2089
|
+
)
|
|
2090
|
+
iterations_poisson: rx.Var[int | float] = field(
|
|
2091
|
+
doc="Number of pressure Poisson iterations to enforce incompressibility. Default: 32."
|
|
2092
|
+
)
|
|
2093
|
+
dt: rx.Var[int | float] = field(
|
|
2094
|
+
doc="Fixed simulation timestep used inside the advection / diffusion passes. Default: 0.014."
|
|
2095
|
+
)
|
|
2096
|
+
bfecc: rx.Var[bool] = field(
|
|
2097
|
+
doc="Enable BFECC advection (error-compensated) for crisper flow; disable for slight performance gain. Default: true."
|
|
2098
|
+
)
|
|
2099
|
+
resolution: rx.Var[int | float] = field(
|
|
2100
|
+
doc="Simulation texture scale relative to canvas size (lower = better performance, more blur). Default: 0.5."
|
|
2101
|
+
)
|
|
2102
|
+
is_bounce: rx.Var[bool] = field(
|
|
2103
|
+
doc="If true, shows bounce boundaries (velocity clamped at edges). Default: false."
|
|
2104
|
+
)
|
|
2105
|
+
colors: rx.Var[list[str]] = field(
|
|
2106
|
+
doc="Array of hex color stops used to build the velocity-to-color palette. Default: ['#5227FF', '#FF9FFC', '#B497CF']."
|
|
2107
|
+
)
|
|
2108
|
+
auto_demo: rx.Var[bool] = field(
|
|
2109
|
+
doc="Enable idle auto-driving of the pointer when no user interaction. Default: true."
|
|
2110
|
+
)
|
|
2111
|
+
auto_speed: rx.Var[int | float] = field(
|
|
2112
|
+
doc="Speed (normalized units/sec) for auto pointer motion. Default: 0.5."
|
|
2113
|
+
)
|
|
2114
|
+
auto_intensity: rx.Var[int | float] = field(
|
|
2115
|
+
doc="Multiplier applied to velocity delta while in auto mode. Default: 2.2."
|
|
2116
|
+
)
|
|
2117
|
+
takeover_duration: rx.Var[int | float] = field(
|
|
2118
|
+
doc="Seconds to interpolate from auto pointer to real cursor when user moves mouse. Default: 0.25."
|
|
2119
|
+
)
|
|
2120
|
+
auto_resume_delay: rx.Var[int | float] = field(
|
|
2121
|
+
doc="Milliseconds of inactivity before auto mode resumes. Default: 1000."
|
|
2122
|
+
)
|
|
2123
|
+
auto_ramp_duration: rx.Var[int | float] = field(
|
|
2124
|
+
doc="Seconds to ramp auto movement speed from 0 to full after activation. Default: 0.6."
|
|
2125
|
+
)
|
|
2126
|
+
background_color: rx.Var[str] = field(
|
|
2127
|
+
doc="The `backgroundColor` prop. Default: '#FFFFFF'."
|
|
2128
|
+
)
|
|
2129
|
+
light_mode: rx.Var[bool] = field(
|
|
2130
|
+
doc="The `lightMode` prop. Default: false."
|
|
2131
|
+
)
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
class MoltenMetal(ReactBitsComponent):
|
|
2135
|
+
"""Swirling caustic plasma filaments with molten, white-hot cores.
|
|
2136
|
+
|
|
2137
|
+
Docs: https://reactbits.dev/backgrounds/molten-metal
|
|
2138
|
+
"""
|
|
2139
|
+
|
|
2140
|
+
tag = "MoltenMetal"
|
|
2141
|
+
alias = "ReactBitsMoltenMetal"
|
|
2142
|
+
is_default = True
|
|
2143
|
+
_rb_category = "Backgrounds"
|
|
2144
|
+
_rb_name = "MoltenMetal"
|
|
2145
|
+
_rb_files = ('MoltenMetal.css', 'MoltenMetal.jsx')
|
|
2146
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2147
|
+
|
|
2148
|
+
color1: rx.Var[str] = field(
|
|
2149
|
+
doc="Shadow color for the dim caustic glow. Default: '#5227FF'."
|
|
2150
|
+
)
|
|
2151
|
+
color2: rx.Var[str] = field(
|
|
2152
|
+
doc="Midtone color for the flowing filaments. Default: '#FF9FFC'."
|
|
2153
|
+
)
|
|
2154
|
+
color3: rx.Var[str] = field(
|
|
2155
|
+
doc="Highlight color for the hot filament cores. Default: '#FFFFFF'."
|
|
2156
|
+
)
|
|
2157
|
+
speed: rx.Var[int | float] = field(
|
|
2158
|
+
doc="Animation speed of the liquid motion. Default: 0.35."
|
|
2159
|
+
)
|
|
2160
|
+
scale: rx.Var[int | float] = field(
|
|
2161
|
+
doc="Zoom of the caustic field (higher = more detail on screen). Default: 4."
|
|
2162
|
+
)
|
|
2163
|
+
detail: rx.Var[int | float] = field(
|
|
2164
|
+
doc="Number of domain-folding iterations (1-8). Default: 3."
|
|
2165
|
+
)
|
|
2166
|
+
glow: rx.Var[int | float] = field(
|
|
2167
|
+
doc="Gain applied to the accumulated filament glow. Default: 1.6."
|
|
2168
|
+
)
|
|
2169
|
+
core_size: rx.Var[int | float] = field(
|
|
2170
|
+
doc="Thickness of the bright filament cores. Default: 0.1."
|
|
2171
|
+
)
|
|
2172
|
+
swirl: rx.Var[int | float] = field(
|
|
2173
|
+
doc="Amount of rotational swirl across the field. Default: 1."
|
|
2174
|
+
)
|
|
2175
|
+
fold: rx.Var[int | float] = field(
|
|
2176
|
+
doc="Turbulence / fold strength of the iterative warp. Default: -0.2."
|
|
2177
|
+
)
|
|
2178
|
+
black_point: rx.Var[int | float] = field(
|
|
2179
|
+
doc="Raises the dark floor so shadows fade to transparent. Default: 0.05."
|
|
2180
|
+
)
|
|
2181
|
+
brightness: rx.Var[int | float] = field(
|
|
2182
|
+
doc="Overall brightness of the effect. Default: 1.3."
|
|
2183
|
+
)
|
|
2184
|
+
color_mode: rx.Var[str] = field(
|
|
2185
|
+
doc="Palette mapping: molten, ember, or frost. Default: 'molten'."
|
|
2186
|
+
)
|
|
2187
|
+
grain: rx.Var[bool] = field(
|
|
2188
|
+
doc="Adds subtle animated film grain. Default: true."
|
|
2189
|
+
)
|
|
2190
|
+
grain_intensity: rx.Var[int | float] = field(
|
|
2191
|
+
doc="Amplitude of the grain overlay. 0 disables it entirely. Default: 0.05."
|
|
2192
|
+
)
|
|
2193
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
2194
|
+
doc="Enables gentle drift of the field toward the cursor. Default: true."
|
|
2195
|
+
)
|
|
2196
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
2197
|
+
doc="Strength of the cursor drift. Default: 0.3."
|
|
2198
|
+
)
|
|
2199
|
+
opacity: rx.Var[int | float] = field(
|
|
2200
|
+
doc="Overall opacity of the effect over the page. Default: 1.0."
|
|
2201
|
+
)
|
|
2202
|
+
background_color: rx.Var[str] = field(
|
|
2203
|
+
doc="The `backgroundColor` prop. Default: '#FFFFFF'."
|
|
2204
|
+
)
|
|
2205
|
+
light_mode: rx.Var[bool] = field(
|
|
2206
|
+
doc="The `lightMode` prop. Default: false."
|
|
2207
|
+
)
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
class Orb(ReactBitsComponent):
|
|
2211
|
+
"""Floating energy orb with customizable hover effect.
|
|
2212
|
+
|
|
2213
|
+
Docs: https://reactbits.dev/backgrounds/orb
|
|
2214
|
+
"""
|
|
2215
|
+
|
|
2216
|
+
tag = "Orb"
|
|
2217
|
+
alias = "ReactBitsOrb"
|
|
2218
|
+
is_default = True
|
|
2219
|
+
_rb_category = "Backgrounds"
|
|
2220
|
+
_rb_name = "Orb"
|
|
2221
|
+
_rb_files = ('Orb.css', 'Orb.jsx')
|
|
2222
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2223
|
+
|
|
2224
|
+
hue: rx.Var[int | float] = field(
|
|
2225
|
+
doc="The base hue for the orb (in degrees). Default: 0."
|
|
2226
|
+
)
|
|
2227
|
+
hover_intensity: rx.Var[int | float] = field(
|
|
2228
|
+
doc="Controls the intensity of the hover distortion effect. Default: 0.2."
|
|
2229
|
+
)
|
|
2230
|
+
rotate_on_hover: rx.Var[bool] = field(
|
|
2231
|
+
doc="Toggle to enable or disable continuous rotation on hover. Default: true."
|
|
2232
|
+
)
|
|
2233
|
+
force_hover_state: rx.Var[bool] = field(
|
|
2234
|
+
doc="Force hover animations even when the orb is not actually hovered. Default: false."
|
|
2235
|
+
)
|
|
2236
|
+
background_color: rx.Var[str] = field(
|
|
2237
|
+
doc="The background color of the container. Default: '#000000'."
|
|
2238
|
+
)
|
|
2239
|
+
|
|
2240
|
+
|
|
2241
|
+
class Particles(ReactBitsComponent):
|
|
2242
|
+
"""Configurable particle system.
|
|
2243
|
+
|
|
2244
|
+
Docs: https://reactbits.dev/backgrounds/particles
|
|
2245
|
+
"""
|
|
2246
|
+
|
|
2247
|
+
tag = "Particles"
|
|
2248
|
+
alias = "ReactBitsParticles"
|
|
2249
|
+
is_default = True
|
|
2250
|
+
_rb_category = "Backgrounds"
|
|
2251
|
+
_rb_name = "Particles"
|
|
2252
|
+
_rb_files = ('Particles.css', 'Particles.jsx')
|
|
2253
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2254
|
+
|
|
2255
|
+
particle_count: rx.Var[int | float] = field(
|
|
2256
|
+
doc="The number of particles to generate. Default: 200."
|
|
2257
|
+
)
|
|
2258
|
+
particle_spread: rx.Var[int | float] = field(
|
|
2259
|
+
doc="Controls how far particles are spread from the center. Default: 10."
|
|
2260
|
+
)
|
|
2261
|
+
speed: rx.Var[int | float] = field(
|
|
2262
|
+
doc="Speed factor controlling the animation pace. Default: 0.1."
|
|
2263
|
+
)
|
|
2264
|
+
particle_colors: rx.Var[list[str]] = field(
|
|
2265
|
+
doc="An array of hex color strings used to color the particles. Default: ['#ffffff']."
|
|
2266
|
+
)
|
|
2267
|
+
move_particles_on_hover: rx.Var[bool] = field(
|
|
2268
|
+
doc="Determines if particles should move in response to mouse hover. Default: false."
|
|
2269
|
+
)
|
|
2270
|
+
particle_hover_factor: rx.Var[int | float] = field(
|
|
2271
|
+
doc="Multiplier for the particle movement when hovering. Default: 1."
|
|
2272
|
+
)
|
|
2273
|
+
alpha_particles: rx.Var[bool] = field(
|
|
2274
|
+
doc="If true, particles are rendered with varying transparency; otherwise, as solid circles. Default: false."
|
|
2275
|
+
)
|
|
2276
|
+
particle_base_size: rx.Var[int | float] = field(
|
|
2277
|
+
doc="The base size of the particles. Default: 100."
|
|
2278
|
+
)
|
|
2279
|
+
size_randomness: rx.Var[int | float] = field(
|
|
2280
|
+
doc="Controls the variation in particle sizes (0 means all particles have the same size). Default: 1."
|
|
2281
|
+
)
|
|
2282
|
+
camera_distance: rx.Var[int | float] = field(
|
|
2283
|
+
doc="Distance from the camera to the particle system. Default: 20."
|
|
2284
|
+
)
|
|
2285
|
+
disable_rotation: rx.Var[bool] = field(
|
|
2286
|
+
doc="If true, stops the particle system from rotating. Default: false."
|
|
2287
|
+
)
|
|
2288
|
+
pixel_ratio: rx.Var[int | float] = field(
|
|
2289
|
+
doc="Sets the pixel ratio for sharper rendering on high-DPI screens. Default: 1."
|
|
2290
|
+
)
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
class PixelBlast(ReactBitsComponent):
|
|
2294
|
+
"""Exploding pixel particle bursts with optional liquid postprocessing.
|
|
2295
|
+
|
|
2296
|
+
Docs: https://reactbits.dev/backgrounds/pixel-blast
|
|
2297
|
+
"""
|
|
2298
|
+
|
|
2299
|
+
tag = "PixelBlast"
|
|
2300
|
+
alias = "ReactBitsPixelBlast"
|
|
2301
|
+
is_default = True
|
|
2302
|
+
_rb_category = "Backgrounds"
|
|
2303
|
+
_rb_name = "PixelBlast"
|
|
2304
|
+
_rb_files = ('PixelBlast.css', 'PixelBlast.jsx')
|
|
2305
|
+
lib_dependencies: list[str] = ['postprocessing@6.37.8', 'three@0.180.0']
|
|
2306
|
+
|
|
2307
|
+
variant: rx.Var[Literal["square", "circle", "triangle", "diamond"]] = field(
|
|
2308
|
+
doc="Pixel shape variant. Default: 'square'."
|
|
2309
|
+
)
|
|
2310
|
+
pixel_size: rx.Var[int | float] = field(
|
|
2311
|
+
doc="Base pixel size (auto scaled for DPI). Default: 3."
|
|
2312
|
+
)
|
|
2313
|
+
color: rx.Var[str] = field(
|
|
2314
|
+
doc="Pixel color. Default: '#B497CF'."
|
|
2315
|
+
)
|
|
2316
|
+
antialias: rx.Var[bool] = field(
|
|
2317
|
+
doc="The `antialias` prop. Default: true."
|
|
2318
|
+
)
|
|
2319
|
+
pattern_scale: rx.Var[int | float] = field(
|
|
2320
|
+
doc="Noise/pattern scale. Default: 2."
|
|
2321
|
+
)
|
|
2322
|
+
pattern_density: rx.Var[int | float] = field(
|
|
2323
|
+
doc="Pattern density adjustment. Default: 1."
|
|
2324
|
+
)
|
|
2325
|
+
liquid: rx.Var[bool] = field(
|
|
2326
|
+
doc="Enable liquid distortion effect. Default: false."
|
|
2327
|
+
)
|
|
2328
|
+
liquid_strength: rx.Var[int | float] = field(
|
|
2329
|
+
doc="Liquid distortion strength. Default: 0.1."
|
|
2330
|
+
)
|
|
2331
|
+
liquid_radius: rx.Var[int | float] = field(
|
|
2332
|
+
doc="Liquid touch brush radius scale. Default: 1."
|
|
2333
|
+
)
|
|
2334
|
+
pixel_size_jitter: rx.Var[int | float] = field(
|
|
2335
|
+
doc="Random jitter applied to coverage. Default: 0."
|
|
2336
|
+
)
|
|
2337
|
+
enable_ripples: rx.Var[bool] = field(
|
|
2338
|
+
doc="Enable click ripple waves. Default: true."
|
|
2339
|
+
)
|
|
2340
|
+
ripple_intensity_scale: rx.Var[int | float] = field(
|
|
2341
|
+
doc="Ripple intensity multiplier. Default: 1."
|
|
2342
|
+
)
|
|
2343
|
+
ripple_thickness: rx.Var[int | float] = field(
|
|
2344
|
+
doc="Ripple ring thickness. Default: 0.1."
|
|
2345
|
+
)
|
|
2346
|
+
ripple_speed: rx.Var[int | float] = field(
|
|
2347
|
+
doc="Ripple propagation speed. Default: 0.3."
|
|
2348
|
+
)
|
|
2349
|
+
liquid_wobble_speed: rx.Var[int | float] = field(
|
|
2350
|
+
doc="Liquid wobble frequency. Default: 4.5."
|
|
2351
|
+
)
|
|
2352
|
+
auto_pause_offscreen: rx.Var[bool] = field(
|
|
2353
|
+
doc="The `autoPauseOffscreen` prop. Default: true."
|
|
2354
|
+
)
|
|
2355
|
+
speed: rx.Var[int | float] = field(
|
|
2356
|
+
doc="Animation time scale. Default: 0.5."
|
|
2357
|
+
)
|
|
2358
|
+
transparent: rx.Var[bool] = field(
|
|
2359
|
+
doc="Transparent background. Default: true."
|
|
2360
|
+
)
|
|
2361
|
+
edge_fade: rx.Var[int | float] = field(
|
|
2362
|
+
doc="Edge fade distance (0-1). Default: 0.5."
|
|
2363
|
+
)
|
|
2364
|
+
noise_amount: rx.Var[int | float] = field(
|
|
2365
|
+
doc="Post noise amount. Default: 0."
|
|
2366
|
+
)
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
class PixelSnow(ReactBitsComponent):
|
|
2370
|
+
"""Falling pixelated snow effect with customizable density and speed.
|
|
2371
|
+
|
|
2372
|
+
Docs: https://reactbits.dev/backgrounds/pixel-snow
|
|
2373
|
+
"""
|
|
2374
|
+
|
|
2375
|
+
tag = "PixelSnow"
|
|
2376
|
+
alias = "ReactBitsPixelSnow"
|
|
2377
|
+
is_default = True
|
|
2378
|
+
_rb_category = "Backgrounds"
|
|
2379
|
+
_rb_name = "PixelSnow"
|
|
2380
|
+
_rb_files = ('PixelSnow.css', 'PixelSnow.jsx')
|
|
2381
|
+
lib_dependencies: list[str] = ['three@0.180.0']
|
|
2382
|
+
|
|
2383
|
+
color: rx.Var[str] = field(
|
|
2384
|
+
doc="Color of the snowflakes (hex or CSS color). Default: '#ffffff'."
|
|
2385
|
+
)
|
|
2386
|
+
flake_size: rx.Var[int | float] = field(
|
|
2387
|
+
doc="Size of snowflakes in scene units. Default: 0.01."
|
|
2388
|
+
)
|
|
2389
|
+
min_flake_size: rx.Var[int | float] = field(
|
|
2390
|
+
doc="Minimum flake size in pixels on screen. Default: 1.25."
|
|
2391
|
+
)
|
|
2392
|
+
pixel_resolution: rx.Var[int | float] = field(
|
|
2393
|
+
doc="Pixel resolution - lower values create larger pixels for a more retro look. Default: 200."
|
|
2394
|
+
)
|
|
2395
|
+
speed: rx.Var[int | float] = field(
|
|
2396
|
+
doc="Animation speed multiplier. Default: 1.25."
|
|
2397
|
+
)
|
|
2398
|
+
depth_fade: rx.Var[int | float] = field(
|
|
2399
|
+
doc="Depth fade intensity - higher values make distant flakes fade faster. Default: 8."
|
|
2400
|
+
)
|
|
2401
|
+
far_plane: rx.Var[int | float] = field(
|
|
2402
|
+
doc="Far plane distance for rendering - higher values show more distant flakes. Default: 20."
|
|
2403
|
+
)
|
|
2404
|
+
brightness: rx.Var[int | float] = field(
|
|
2405
|
+
doc="Overall brightness multiplier. Default: 1."
|
|
2406
|
+
)
|
|
2407
|
+
gamma: rx.Var[int | float] = field(
|
|
2408
|
+
doc="Gamma correction value for final color output. Default: 0.4545."
|
|
2409
|
+
)
|
|
2410
|
+
density: rx.Var[int | float] = field(
|
|
2411
|
+
doc="Probability of snowflakes appearing (0-1) - lower values = fewer flakes. Default: 0.3."
|
|
2412
|
+
)
|
|
2413
|
+
variant: rx.Var[Literal["square", "round", "snowflake"]] = field(
|
|
2414
|
+
doc="Shape of the snowflakes - square, round, or snowflake pattern. Default: 'square'."
|
|
2415
|
+
)
|
|
2416
|
+
direction: rx.Var[int | float] = field(
|
|
2417
|
+
doc="Wind direction angle in degrees (0-360). Default: 125."
|
|
2418
|
+
)
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
class Plasma(ReactBitsComponent):
|
|
2422
|
+
"""Organic plasma gradients swirl + morph with smooth turbulence.
|
|
2423
|
+
|
|
2424
|
+
Docs: https://reactbits.dev/backgrounds/plasma
|
|
2425
|
+
"""
|
|
2426
|
+
|
|
2427
|
+
tag = "Plasma"
|
|
2428
|
+
alias = "ReactBitsPlasma"
|
|
2429
|
+
is_default = True
|
|
2430
|
+
_rb_category = "Backgrounds"
|
|
2431
|
+
_rb_name = "Plasma"
|
|
2432
|
+
_rb_files = ('Plasma.css', 'Plasma.jsx')
|
|
2433
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2434
|
+
|
|
2435
|
+
color: rx.Var[str] = field(
|
|
2436
|
+
doc="Optional hex color to tint the plasma effect. If not provided, uses original colors. Default: '#ffffff'."
|
|
2437
|
+
)
|
|
2438
|
+
speed: rx.Var[int | float] = field(
|
|
2439
|
+
doc="Animation speed multiplier. Higher values = faster animation. Default: 1."
|
|
2440
|
+
)
|
|
2441
|
+
direction: rx.Var[Literal["forward", "reverse", "pingpong"]] = field(
|
|
2442
|
+
doc="Animation direction. 'pingpong' oscillates back and forth. Default: 'forward'."
|
|
2443
|
+
)
|
|
2444
|
+
scale: rx.Var[int | float] = field(
|
|
2445
|
+
doc="Zoom level of the plasma pattern. Higher values zoom in. Default: 1."
|
|
2446
|
+
)
|
|
2447
|
+
opacity: rx.Var[int | float] = field(
|
|
2448
|
+
doc="Overall opacity of the effect (0-1). Default: 1."
|
|
2449
|
+
)
|
|
2450
|
+
mouse_interactive: rx.Var[bool] = field(
|
|
2451
|
+
doc="Whether the plasma responds to mouse movement. Default: true."
|
|
2452
|
+
)
|
|
2453
|
+
render_scale: rx.Var[int | float] = field(
|
|
2454
|
+
doc="Internal render resolution multiplier. 1 = full res, 0.5 = quarter the pixels. Lower values improve performance. Default: 0.55."
|
|
2455
|
+
)
|
|
2456
|
+
max_dpr: rx.Var[int | float] = field(
|
|
2457
|
+
doc="Hard cap on devicePixelRatio used for rendering. Lower values improve performance on high-DPI screens. Default: 1.5."
|
|
2458
|
+
)
|
|
2459
|
+
target_fps: rx.Var[int | float] = field(
|
|
2460
|
+
doc="Target frame rate for the animation loop. Lower values reduce CPU/GPU load. Default: 60."
|
|
2461
|
+
)
|
|
2462
|
+
iterations: rx.Var[int | float] = field(
|
|
2463
|
+
doc="Raymarch step count \u2014 lower is cheaper but less detailed. Higher values produce smoother plasma. Default: 60."
|
|
2464
|
+
)
|
|
2465
|
+
light_mode: rx.Var[bool] = field(
|
|
2466
|
+
doc="The `lightMode` prop. Default: false."
|
|
2467
|
+
)
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
class PlasmaWave(ReactBitsComponent):
|
|
2471
|
+
"""Raymarched plasma waves with dual-wave interference and OGL.
|
|
2472
|
+
|
|
2473
|
+
Docs: https://reactbits.dev/backgrounds/plasma-wave
|
|
2474
|
+
"""
|
|
2475
|
+
|
|
2476
|
+
tag = "PlasmaWave"
|
|
2477
|
+
alias = "ReactBitsPlasmaWave"
|
|
2478
|
+
is_default = True
|
|
2479
|
+
_rb_category = "Backgrounds"
|
|
2480
|
+
_rb_name = "PlasmaWave"
|
|
2481
|
+
_rb_files = ('PlasmaWave.css', 'PlasmaWave.jsx')
|
|
2482
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2483
|
+
|
|
2484
|
+
x_offset: rx.Var[int | float] = field(
|
|
2485
|
+
doc="Horizontal offset of the viewport. Default: 0."
|
|
2486
|
+
)
|
|
2487
|
+
y_offset: rx.Var[int | float] = field(
|
|
2488
|
+
doc="Vertical offset of the viewport. Default: 0."
|
|
2489
|
+
)
|
|
2490
|
+
rotation_deg: rx.Var[int | float] = field(
|
|
2491
|
+
doc="Rotation angle of the scene in degrees. Default: 0."
|
|
2492
|
+
)
|
|
2493
|
+
focal_length: rx.Var[int | float] = field(
|
|
2494
|
+
doc="Focal length of the camera projection. Default: 0.8."
|
|
2495
|
+
)
|
|
2496
|
+
speed1: rx.Var[int | float] = field(
|
|
2497
|
+
doc="Speed of the first plasma wave. Default: 0.05."
|
|
2498
|
+
)
|
|
2499
|
+
speed2: rx.Var[int | float] = field(
|
|
2500
|
+
doc="Speed of the second plasma wave. Default: 0.05."
|
|
2501
|
+
)
|
|
2502
|
+
dir2: rx.Var[int | float] = field(
|
|
2503
|
+
doc="Direction multiplier for the second wave. Use -1 to reverse. Default: 1.0."
|
|
2504
|
+
)
|
|
2505
|
+
bend1: rx.Var[int | float] = field(
|
|
2506
|
+
doc="Bend intensity of the first wave. Default: 1."
|
|
2507
|
+
)
|
|
2508
|
+
bend2: rx.Var[int | float] = field(
|
|
2509
|
+
doc="Bend intensity of the second wave. Default: 0.5."
|
|
2510
|
+
)
|
|
2511
|
+
colors: rx.Var[list[str]] = field(
|
|
2512
|
+
doc="Array of two hex colors \u2014 one for each plasma wave band. Default: ['#A855F7', '#06B6D4']."
|
|
2513
|
+
)
|
|
2514
|
+
light_mode: rx.Var[bool] = field(
|
|
2515
|
+
doc="The `lightMode` prop. Default: false."
|
|
2516
|
+
)
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
class Prism(ReactBitsComponent):
|
|
2520
|
+
"""Rotating prism with configurable intensity, size, and colors.
|
|
2521
|
+
|
|
2522
|
+
Docs: https://reactbits.dev/backgrounds/prism
|
|
2523
|
+
"""
|
|
2524
|
+
|
|
2525
|
+
tag = "Prism"
|
|
2526
|
+
alias = "ReactBitsPrism"
|
|
2527
|
+
is_default = True
|
|
2528
|
+
_rb_category = "Backgrounds"
|
|
2529
|
+
_rb_name = "Prism"
|
|
2530
|
+
_rb_files = ('Prism.css', 'Prism.jsx')
|
|
2531
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2532
|
+
|
|
2533
|
+
height: rx.Var[int | float] = field(
|
|
2534
|
+
doc="Apex height of the prism (world units). Default: 3.5."
|
|
2535
|
+
)
|
|
2536
|
+
base_width: rx.Var[int | float] = field(
|
|
2537
|
+
doc="Total base width across X/Z (world units). Default: 5.5."
|
|
2538
|
+
)
|
|
2539
|
+
animation_type: rx.Var[Literal["rotate", "hover", "3drotate"]] = field(
|
|
2540
|
+
doc="Animation mode: shader wobble, pointer hover tilt, or full 3D rotation. Default: 'rotate'."
|
|
2541
|
+
)
|
|
2542
|
+
glow: rx.Var[int | float] = field(
|
|
2543
|
+
doc="Glow/bleed intensity multiplier. Default: 1."
|
|
2544
|
+
)
|
|
2545
|
+
offset: rx.Var[dict[str, Any]] = field(
|
|
2546
|
+
doc="Pixel offset within the canvas (x\u2192right, y\u2192down). Default: { x: 0, y: 0 }."
|
|
2547
|
+
)
|
|
2548
|
+
noise: rx.Var[int | float] = field(
|
|
2549
|
+
doc="Film-grain noise amount added to final color (0 disables). Default: 0.5."
|
|
2550
|
+
)
|
|
2551
|
+
transparent: rx.Var[bool] = field(
|
|
2552
|
+
doc="Whether the canvas has an alpha channel (transparent background). Default: true."
|
|
2553
|
+
)
|
|
2554
|
+
scale: rx.Var[int | float] = field(
|
|
2555
|
+
doc="Overall screen-space scale of the prism (bigger = larger). Default: 3.6."
|
|
2556
|
+
)
|
|
2557
|
+
hue_shift: rx.Var[int | float] = field(
|
|
2558
|
+
doc="Hue rotation (radians) applied to final color. Default: 0."
|
|
2559
|
+
)
|
|
2560
|
+
color_frequency: rx.Var[int | float] = field(
|
|
2561
|
+
doc="Frequency of internal sine bands controlling color variation. Default: 1."
|
|
2562
|
+
)
|
|
2563
|
+
hover_strength: rx.Var[int | float] = field(
|
|
2564
|
+
doc="Sensitivity of hover tilt (pitch/yaw amplitude). Default: 2."
|
|
2565
|
+
)
|
|
2566
|
+
inertia: rx.Var[int | float] = field(
|
|
2567
|
+
doc="Easing factor for hover (0..1, higher = snappier). Default: 0.05."
|
|
2568
|
+
)
|
|
2569
|
+
bloom: rx.Var[int | float] = field(
|
|
2570
|
+
doc="Extra bloom factor layered on top of glow. Default: 1."
|
|
2571
|
+
)
|
|
2572
|
+
suspend_when_offscreen: rx.Var[bool] = field(
|
|
2573
|
+
doc="Pause rendering when the element is not in the viewport. Default: false."
|
|
2574
|
+
)
|
|
2575
|
+
time_scale: rx.Var[int | float] = field(
|
|
2576
|
+
doc="Global time multiplier for animations (0=frozen, 1=normal). Default: 0.5."
|
|
2577
|
+
)
|
|
2578
|
+
light_mode: rx.Var[bool] = field(
|
|
2579
|
+
doc="The `lightMode` prop. Default: false."
|
|
2580
|
+
)
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
class PrismaticBurst(ReactBitsComponent):
|
|
2584
|
+
"""Burst of light rays with controllable color, distortion, amount.
|
|
2585
|
+
|
|
2586
|
+
Docs: https://reactbits.dev/backgrounds/prismatic-burst
|
|
2587
|
+
"""
|
|
2588
|
+
|
|
2589
|
+
tag = "PrismaticBurst"
|
|
2590
|
+
alias = "ReactBitsPrismaticBurst"
|
|
2591
|
+
is_default = True
|
|
2592
|
+
_rb_category = "Backgrounds"
|
|
2593
|
+
_rb_name = "PrismaticBurst"
|
|
2594
|
+
_rb_files = ('PrismaticBurst.css', 'PrismaticBurst.jsx')
|
|
2595
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2596
|
+
|
|
2597
|
+
intensity: rx.Var[int | float] = field(
|
|
2598
|
+
doc="Overall brightness multiplier applied after accumulation. Default: 2."
|
|
2599
|
+
)
|
|
2600
|
+
speed: rx.Var[int | float] = field(
|
|
2601
|
+
doc="Global time multiplier controlling ray motion & distortion. Default: 0.5."
|
|
2602
|
+
)
|
|
2603
|
+
animation_type: rx.Var[Literal["rotate", "rotate3d", "hover"]] = field(
|
|
2604
|
+
doc="Core motion style: planar rotation, full 3D rotation, or pointer hover orbit. Default: 'rotate3d'."
|
|
2605
|
+
)
|
|
2606
|
+
colors: rx.Var[list[str]] = field(
|
|
2607
|
+
doc="Optional array of hex colors used as a gradient (otherwise spectral). Default: []."
|
|
2608
|
+
)
|
|
2609
|
+
distort: rx.Var[int | float] = field(
|
|
2610
|
+
doc="Amount of bend/distortion applied to marching space (adds organic wobble). Default: 0."
|
|
2611
|
+
)
|
|
2612
|
+
paused: rx.Var[bool] = field(
|
|
2613
|
+
doc="Freeze time progression when true (animation stops). Default: false."
|
|
2614
|
+
)
|
|
2615
|
+
offset: rx.Var[dict[str, Any]] = field(
|
|
2616
|
+
doc="Pixel (or CSS length) offset of focal origin from center. Default: { x: 0, y: 0 }."
|
|
2617
|
+
)
|
|
2618
|
+
hover_dampness: rx.Var[int | float] = field(
|
|
2619
|
+
doc="Smoothing factor (0-1) for pointer tracking when animationType='hover'. Default: 0."
|
|
2620
|
+
)
|
|
2621
|
+
ray_count: rx.Var[int | float] = field(
|
|
2622
|
+
doc="If > 0 applies an angular comb filter to produce discrete ray spokes."
|
|
2623
|
+
)
|
|
2624
|
+
mix_blend_mode: rx.Var[str] = field(
|
|
2625
|
+
doc="Canvas CSS mix-blend-mode (e.g. lighten, screen) or 'none' for normal. Default: 'lighten'."
|
|
2626
|
+
)
|
|
2627
|
+
light_mode: rx.Var[bool] = field(
|
|
2628
|
+
doc="The `lightMode` prop. Default: false."
|
|
2629
|
+
)
|
|
2630
|
+
|
|
2631
|
+
|
|
2632
|
+
class Radar(ReactBitsComponent):
|
|
2633
|
+
"""Radar sweep effect with concentric rings, radial spokes, and a rotating beam.
|
|
2634
|
+
|
|
2635
|
+
Docs: https://reactbits.dev/backgrounds/radar
|
|
2636
|
+
"""
|
|
2637
|
+
|
|
2638
|
+
tag = "Radar"
|
|
2639
|
+
alias = "ReactBitsRadar"
|
|
2640
|
+
is_default = True
|
|
2641
|
+
_rb_category = "Backgrounds"
|
|
2642
|
+
_rb_name = "Radar"
|
|
2643
|
+
_rb_files = ('Radar.css', 'Radar.jsx')
|
|
2644
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2645
|
+
|
|
2646
|
+
speed: rx.Var[int | float] = field(
|
|
2647
|
+
doc="Overall animation speed multiplier. Default: 1.0."
|
|
2648
|
+
)
|
|
2649
|
+
scale: rx.Var[int | float] = field(
|
|
2650
|
+
doc="Zoom level of the radar pattern. Default: 0.5."
|
|
2651
|
+
)
|
|
2652
|
+
ring_count: rx.Var[int | float] = field(
|
|
2653
|
+
doc="Number of concentric rings. Default: 10.0."
|
|
2654
|
+
)
|
|
2655
|
+
spoke_count: rx.Var[int | float] = field(
|
|
2656
|
+
doc="Number of radial spoke lines. Default: 10.0."
|
|
2657
|
+
)
|
|
2658
|
+
ring_thickness: rx.Var[int | float] = field(
|
|
2659
|
+
doc="Thickness of the concentric ring lines. Default: 0.05."
|
|
2660
|
+
)
|
|
2661
|
+
spoke_thickness: rx.Var[int | float] = field(
|
|
2662
|
+
doc="Thickness of the radial spoke lines. Default: 0.01."
|
|
2663
|
+
)
|
|
2664
|
+
sweep_speed: rx.Var[int | float] = field(
|
|
2665
|
+
doc="Rotation speed of the sweep beam. Default: 1.0."
|
|
2666
|
+
)
|
|
2667
|
+
sweep_width: rx.Var[int | float] = field(
|
|
2668
|
+
doc="Width of the sweep trail (higher = thinner). Default: 2.0."
|
|
2669
|
+
)
|
|
2670
|
+
sweep_lobes: rx.Var[int | float] = field(
|
|
2671
|
+
doc="Number of sweep beams around the radar. Default: 1.0."
|
|
2672
|
+
)
|
|
2673
|
+
color: rx.Var[str] = field(
|
|
2674
|
+
doc="Primary radar color in HEX format. Default: '#9f29ff'."
|
|
2675
|
+
)
|
|
2676
|
+
background_color: rx.Var[str] = field(
|
|
2677
|
+
doc="Background color in HEX format. Default: '#000000'."
|
|
2678
|
+
)
|
|
2679
|
+
falloff: rx.Var[int | float] = field(
|
|
2680
|
+
doc="Edge fade intensity based on distance from center. Default: 2.0."
|
|
2681
|
+
)
|
|
2682
|
+
brightness: rx.Var[int | float] = field(
|
|
2683
|
+
doc="Overall brightness multiplier. Default: 1.0."
|
|
2684
|
+
)
|
|
2685
|
+
enable_mouse_interaction: rx.Var[bool] = field(
|
|
2686
|
+
doc="Enable cursor-reactive center offset. Default: true."
|
|
2687
|
+
)
|
|
2688
|
+
mouse_influence: rx.Var[int | float] = field(
|
|
2689
|
+
doc="Strength of the mouse offset effect. Default: 0.1."
|
|
2690
|
+
)
|
|
2691
|
+
light_mode: rx.Var[bool] = field(
|
|
2692
|
+
doc="The `lightMode` prop. Default: false."
|
|
2693
|
+
)
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
class RippleGrid(ReactBitsComponent):
|
|
2697
|
+
"""A grid that continuously animates with a ripple effect.
|
|
2698
|
+
|
|
2699
|
+
Docs: https://reactbits.dev/backgrounds/ripple-grid
|
|
2700
|
+
"""
|
|
2701
|
+
|
|
2702
|
+
tag = "RippleGrid"
|
|
2703
|
+
alias = "ReactBitsRippleGrid"
|
|
2704
|
+
is_default = True
|
|
2705
|
+
_rb_category = "Backgrounds"
|
|
2706
|
+
_rb_name = "RippleGrid"
|
|
2707
|
+
_rb_files = ('RippleGrid.css', 'RippleGrid.jsx')
|
|
2708
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2709
|
+
|
|
2710
|
+
enable_rainbow: rx.Var[bool] = field(
|
|
2711
|
+
doc="Enables rainbow color cycling animation for the grid. Default: false."
|
|
2712
|
+
)
|
|
2713
|
+
grid_color: rx.Var[str] = field(
|
|
2714
|
+
doc="Color of the grid when rainbow mode is disabled. Default: '#ffffff'."
|
|
2715
|
+
)
|
|
2716
|
+
ripple_intensity: rx.Var[int | float] = field(
|
|
2717
|
+
doc="Controls the intensity of the ripple effect from the center. Default: 0.05."
|
|
2718
|
+
)
|
|
2719
|
+
grid_size: rx.Var[int | float] = field(
|
|
2720
|
+
doc="Controls the density/size of the grid pattern. Default: 10.0."
|
|
2721
|
+
)
|
|
2722
|
+
grid_thickness: rx.Var[int | float] = field(
|
|
2723
|
+
doc="Controls the thickness of the grid lines. Default: 15.0."
|
|
2724
|
+
)
|
|
2725
|
+
fade_distance: rx.Var[int | float] = field(
|
|
2726
|
+
doc="Controls how far the fade effect extends from the center. Default: 1.5."
|
|
2727
|
+
)
|
|
2728
|
+
vignette_strength: rx.Var[int | float] = field(
|
|
2729
|
+
doc="Controls the intensity of the vignette (edge darkening) effect. Default: 2.0."
|
|
2730
|
+
)
|
|
2731
|
+
glow_intensity: rx.Var[int | float] = field(
|
|
2732
|
+
doc="Adds a glow effect to the grid lines. Default: 0.1."
|
|
2733
|
+
)
|
|
2734
|
+
opacity: rx.Var[int | float] = field(
|
|
2735
|
+
doc="Overall opacity of the entire effect. Default: 1.0."
|
|
2736
|
+
)
|
|
2737
|
+
grid_rotation: rx.Var[int | float] = field(
|
|
2738
|
+
doc="Rotate the entire grid pattern by degrees. Default: 0."
|
|
2739
|
+
)
|
|
2740
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
2741
|
+
doc="Enable mouse/touch interaction to create ripples. Default: true."
|
|
2742
|
+
)
|
|
2743
|
+
mouse_interaction_radius: rx.Var[int | float] = field(
|
|
2744
|
+
doc="Controls the radius of the mouse interaction effect. Default: 1."
|
|
2745
|
+
)
|
|
2746
|
+
light_mode: rx.Var[bool] = field(
|
|
2747
|
+
doc="The `lightMode` prop. Default: false."
|
|
2748
|
+
)
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
class Scanner(ReactBitsComponent):
|
|
2752
|
+
"""Calm interference bands sweeping across the screen like an oscilloscope.
|
|
2753
|
+
|
|
2754
|
+
Docs: https://reactbits.dev/backgrounds/scanner
|
|
2755
|
+
"""
|
|
2756
|
+
|
|
2757
|
+
tag = "Scanner"
|
|
2758
|
+
alias = "ReactBitsScanner"
|
|
2759
|
+
is_default = True
|
|
2760
|
+
_rb_category = "Backgrounds"
|
|
2761
|
+
_rb_name = "Scanner"
|
|
2762
|
+
_rb_files = ('Scanner.css', 'Scanner.jsx')
|
|
2763
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2764
|
+
|
|
2765
|
+
color1: rx.Var[str] = field(
|
|
2766
|
+
doc="Deep violet base color of the scanning field. Default: '#5227FF'."
|
|
2767
|
+
)
|
|
2768
|
+
color2: rx.Var[str] = field(
|
|
2769
|
+
doc="Pink color of the interference bands. Default: '#FF9FFC'."
|
|
2770
|
+
)
|
|
2771
|
+
color3: rx.Var[str] = field(
|
|
2772
|
+
doc="White color used for the brightest signal peaks. Default: '#FFFFFF'."
|
|
2773
|
+
)
|
|
2774
|
+
speed: rx.Var[int | float] = field(
|
|
2775
|
+
doc="Overall animation speed of the signal. Default: 0.5."
|
|
2776
|
+
)
|
|
2777
|
+
sweep_speed: rx.Var[int | float] = field(
|
|
2778
|
+
doc="Rate of the scan band travelling across the field. Default: 0.25."
|
|
2779
|
+
)
|
|
2780
|
+
sweep_width: rx.Var[int | float] = field(
|
|
2781
|
+
doc="Spacing between successive scan bands. Default: 1.6."
|
|
2782
|
+
)
|
|
2783
|
+
sweep_falloff: rx.Var[int | float] = field(
|
|
2784
|
+
doc="How tightly the sweep concentrates; higher values give a narrower band. Default: 6."
|
|
2785
|
+
)
|
|
2786
|
+
scale: rx.Var[int | float] = field(
|
|
2787
|
+
doc="Zoom level of the signal field. Default: 1.5."
|
|
2788
|
+
)
|
|
2789
|
+
frequency: rx.Var[int | float] = field(
|
|
2790
|
+
doc="Spatial frequency of the underlying signal that bends the scan lines. Default: 2."
|
|
2791
|
+
)
|
|
2792
|
+
ripple: rx.Var[int | float] = field(
|
|
2793
|
+
doc="How strongly the signal bends the scan lines out of straight. Default: 0.22."
|
|
2794
|
+
)
|
|
2795
|
+
band_density: rx.Var[int | float] = field(
|
|
2796
|
+
doc="Number of scan lines packed across the field. Default: 11."
|
|
2797
|
+
)
|
|
2798
|
+
line_sharpness: rx.Var[int | float] = field(
|
|
2799
|
+
doc="Thins the scan lines into a crisp trace; lower values give a soft glow. Default: 5.5."
|
|
2800
|
+
)
|
|
2801
|
+
glow: rx.Var[int | float] = field(
|
|
2802
|
+
doc="Soft fill between the lines, giving the band volume. Default: 0.22."
|
|
2803
|
+
)
|
|
2804
|
+
scan_direction: rx.Var[str] = field(
|
|
2805
|
+
doc="Direction of the scan: 'vertical', 'horizontal', or 'diagonal'. Default: 'vertical'."
|
|
2806
|
+
)
|
|
2807
|
+
color_spread: rx.Var[int | float] = field(
|
|
2808
|
+
doc="Amount of chromatic separation between the violet and pink channels. Default: 0.7."
|
|
2809
|
+
)
|
|
2810
|
+
brightness: rx.Var[int | float] = field(
|
|
2811
|
+
doc="Overall brightness of the field. Default: 1.0."
|
|
2812
|
+
)
|
|
2813
|
+
contrast: rx.Var[int | float] = field(
|
|
2814
|
+
doc="Contrast between the base tone and the bright peaks. Default: 1.15."
|
|
2815
|
+
)
|
|
2816
|
+
softness: rx.Var[int | float] = field(
|
|
2817
|
+
doc="Anti-alias rolloff; higher values calm high-frequency shimmer. Default: 1.4."
|
|
2818
|
+
)
|
|
2819
|
+
vignette: rx.Var[int | float] = field(
|
|
2820
|
+
doc="Strength of the edge fade around the field. Default: 0.45."
|
|
2821
|
+
)
|
|
2822
|
+
scanline: rx.Var[bool] = field(
|
|
2823
|
+
doc="Overlays fine CRT raster lines across the field. Default: true."
|
|
2824
|
+
)
|
|
2825
|
+
grain: rx.Var[bool] = field(
|
|
2826
|
+
doc="Adds a subtle animated grain. Default: true."
|
|
2827
|
+
)
|
|
2828
|
+
grain_intensity: rx.Var[int | float] = field(
|
|
2829
|
+
doc="Amplitude of the grain overlay. 0 disables it entirely. Default: 0.05."
|
|
2830
|
+
)
|
|
2831
|
+
opacity: rx.Var[int | float] = field(
|
|
2832
|
+
doc="Overall opacity of the effect. Default: 1.0."
|
|
2833
|
+
)
|
|
2834
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
2835
|
+
doc="Enables the soft scan focus that follows the pointer. Default: true."
|
|
2836
|
+
)
|
|
2837
|
+
mouse_radius: rx.Var[int | float] = field(
|
|
2838
|
+
doc="Radius of the pointer focus region. Default: 0.5."
|
|
2839
|
+
)
|
|
2840
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
2841
|
+
doc="Strength of the pointer focus brightening. Default: 0.5."
|
|
2842
|
+
)
|
|
2843
|
+
|
|
2844
|
+
|
|
2845
|
+
class ShapeGrid(ReactBitsComponent):
|
|
2846
|
+
"""Animated grid with shape variants (square, hexagon, circle, triangle) + direction customization.
|
|
2847
|
+
|
|
2848
|
+
Docs: https://reactbits.dev/backgrounds/shape-grid
|
|
2849
|
+
"""
|
|
2850
|
+
|
|
2851
|
+
tag = "ShapeGrid"
|
|
2852
|
+
alias = "ReactBitsShapeGrid"
|
|
2853
|
+
is_default = True
|
|
2854
|
+
_rb_category = "Backgrounds"
|
|
2855
|
+
_rb_name = "ShapeGrid"
|
|
2856
|
+
_rb_files = ('ShapeGrid.css', 'ShapeGrid.jsx')
|
|
2857
|
+
|
|
2858
|
+
direction: rx.Var[str] = field(
|
|
2859
|
+
doc="Direction of square animation. Options: 'diagonal', 'up', 'right', 'down', 'left'. Default: 'right'."
|
|
2860
|
+
)
|
|
2861
|
+
speed: rx.Var[int | float] = field(
|
|
2862
|
+
doc="Animation speed multiplier. Default: 1."
|
|
2863
|
+
)
|
|
2864
|
+
border_color: rx.Var[str] = field(
|
|
2865
|
+
doc="Color of the square borders. Default: '#999'."
|
|
2866
|
+
)
|
|
2867
|
+
square_size: rx.Var[int | float] = field(
|
|
2868
|
+
doc="Size of individual squares in pixels. Default: 40."
|
|
2869
|
+
)
|
|
2870
|
+
hover_fill_color: rx.Var[str] = field(
|
|
2871
|
+
doc="Fill color when hovering over squares. Default: '#222'."
|
|
2872
|
+
)
|
|
2873
|
+
shape: rx.Var[str] = field(
|
|
2874
|
+
doc="Shape of the grid tiles. Options: 'square', 'hexagon', 'circle', 'triangle'. Default: 'square'."
|
|
2875
|
+
)
|
|
2876
|
+
hover_trail_amount: rx.Var[int | float] = field(
|
|
2877
|
+
doc="Number of previously hovered shapes to keep visible as a fading trail. 0 disables the trail. Default: 0."
|
|
2878
|
+
)
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
class ShapeWaves(ReactBitsComponent):
|
|
2882
|
+
"""A WebGPU field of triangles, circles and squares that brighten and grow along rolling waves, with an optional text cutout the waves flow around.
|
|
2883
|
+
|
|
2884
|
+
Docs: https://reactbits.dev/backgrounds/shape-waves
|
|
2885
|
+
"""
|
|
2886
|
+
|
|
2887
|
+
tag = "ShapeWaves"
|
|
2888
|
+
alias = "ReactBitsShapeWaves"
|
|
2889
|
+
is_default = True
|
|
2890
|
+
_rb_category = "Backgrounds"
|
|
2891
|
+
_rb_name = "ShapeWaves"
|
|
2892
|
+
_rb_files = ('ShapeWaves.css', 'ShapeWaves.jsx')
|
|
2893
|
+
lib_dependencies: list[str] = ['vgpu@0.3.1']
|
|
2894
|
+
|
|
2895
|
+
text: rx.Var[str] = field(
|
|
2896
|
+
doc="Optional text carved out of the field. Cells under the glyphs stay empty and the waves flow around them."
|
|
2897
|
+
)
|
|
2898
|
+
font_family: rx.Var[str] = field(
|
|
2899
|
+
doc="CSS font family used to draw the text cutout. Default: 'Geist, \"Geist Sans\", system-ui, sans-serif'."
|
|
2900
|
+
)
|
|
2901
|
+
font_weight: rx.Var[int | float | str] = field(
|
|
2902
|
+
doc="Font weight of the text cutout. Default: 500."
|
|
2903
|
+
)
|
|
2904
|
+
text_size: rx.Var[int | float] = field(
|
|
2905
|
+
doc="Text height as a fraction of the container height. Long text shrinks to fit the width. Default: 0.6."
|
|
2906
|
+
)
|
|
2907
|
+
shapes: rx.Var[str] = field(
|
|
2908
|
+
doc="'mixed' draws dark bands as triangles, mid bands as circles and bright bands as squares. 'squares', 'circles' or 'triangles' use one glyph and vary its size per band instead. Default: 'mixed'."
|
|
2909
|
+
)
|
|
2910
|
+
cell_size: rx.Var[int | float] = field(
|
|
2911
|
+
doc="Size of one grid cell in CSS pixels. Default: 10."
|
|
2912
|
+
)
|
|
2913
|
+
dot_size: rx.Var[int | float] = field(
|
|
2914
|
+
doc="Glyph size as a fraction of the cell. Default: 0.75."
|
|
2915
|
+
)
|
|
2916
|
+
color: rx.Var[str] = field(
|
|
2917
|
+
doc="Glyph color. One flat color for the whole field. Default: '#929292'."
|
|
2918
|
+
)
|
|
2919
|
+
hover_color: rx.Var[str] = field(
|
|
2920
|
+
doc="Color the glyphs step towards inside a splash. Default: '#ffffff'."
|
|
2921
|
+
)
|
|
2922
|
+
background_color: rx.Var[str] = field(
|
|
2923
|
+
doc="Background color behind the glyphs. Default: '#000000'."
|
|
2924
|
+
)
|
|
2925
|
+
speed: rx.Var[int | float] = field(
|
|
2926
|
+
doc="How fast the wave bands morph over time. 0 freezes them. Default: 1."
|
|
2927
|
+
)
|
|
2928
|
+
scale: rx.Var[int | float] = field(
|
|
2929
|
+
doc="Size of the wave bands. Larger values give broader, calmer swells. Default: 1."
|
|
2930
|
+
)
|
|
2931
|
+
contrast: rx.Var[int | float] = field(
|
|
2932
|
+
doc="How sharply the field is cut into its three bands. Default: 1."
|
|
2933
|
+
)
|
|
2934
|
+
brightness: rx.Var[int | float] = field(
|
|
2935
|
+
doc="Shifts the balance between dark, mid and bright bands. Default: 0.4."
|
|
2936
|
+
)
|
|
2937
|
+
flow: rx.Var[int | float] = field(
|
|
2938
|
+
doc="Drift speed of the field in cells per second. 0 evolves in place. Default: 0."
|
|
2939
|
+
)
|
|
2940
|
+
direction: rx.Var[int | float] = field(
|
|
2941
|
+
doc="Drift direction in degrees, used when flow is above 0. Default: 0."
|
|
2942
|
+
)
|
|
2943
|
+
fade: rx.Var[int | float] = field(
|
|
2944
|
+
doc="Strength of the radial fade into the background towards the edges. 0 disables it. Default: 0.25."
|
|
2945
|
+
)
|
|
2946
|
+
interactive: rx.Var[bool] = field(
|
|
2947
|
+
doc="Lets the cursor splash into the field, sending ripples that cycle the glyphs and light them up. Default: true."
|
|
2948
|
+
)
|
|
2949
|
+
splash_radius: rx.Var[int | float] = field(
|
|
2950
|
+
doc="Size of a cursor splash in CSS pixels. Default: 40."
|
|
2951
|
+
)
|
|
2952
|
+
splash_strength: rx.Var[int | float] = field(
|
|
2953
|
+
doc="How much energy a splash drops in. Higher values throw wider, brighter ripples. Default: 0.4."
|
|
2954
|
+
)
|
|
2955
|
+
glow: rx.Var[int | float] = field(
|
|
2956
|
+
doc="Bloom on lit glyphs. 0 disables the glow pass entirely. Default: 0.35."
|
|
2957
|
+
)
|
|
2958
|
+
intro: rx.Var[bool] = field(
|
|
2959
|
+
doc="Plays a spawn animation on mount: the shapes pop in along a wave that travels from the centre to the corners. Default: true."
|
|
2960
|
+
)
|
|
2961
|
+
intro_duration: rx.Var[int | float] = field(
|
|
2962
|
+
doc="Length of the intro wave in seconds. Default: 1.6."
|
|
2963
|
+
)
|
|
2964
|
+
intro_key: rx.Var[int | float | str] = field(
|
|
2965
|
+
doc="Change this value to replay the intro wave without remounting. Default: 0."
|
|
2966
|
+
)
|
|
2967
|
+
paused: rx.Var[bool] = field(
|
|
2968
|
+
doc="Freezes the wave motion. Splashes keep working. Default: false."
|
|
2969
|
+
)
|
|
2970
|
+
on_error: rx.EventHandler[lambda error: [safe(error)]] = field(
|
|
2971
|
+
doc="Called when WebGPU is unavailable or rendering fails. The background color still shows. Handler receives: error."
|
|
2972
|
+
)
|
|
2973
|
+
|
|
2974
|
+
|
|
2975
|
+
class SideRays(ReactBitsComponent):
|
|
2976
|
+
"""Animated light rays emanating from the side with customizable colors and speed.
|
|
2977
|
+
|
|
2978
|
+
Docs: https://reactbits.dev/backgrounds/side-rays
|
|
2979
|
+
"""
|
|
2980
|
+
|
|
2981
|
+
tag = "SideRays"
|
|
2982
|
+
alias = "ReactBitsSideRays"
|
|
2983
|
+
is_default = True
|
|
2984
|
+
_rb_category = "Backgrounds"
|
|
2985
|
+
_rb_name = "SideRays"
|
|
2986
|
+
_rb_files = ('SideRays.css', 'SideRays.jsx')
|
|
2987
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
2988
|
+
|
|
2989
|
+
speed: rx.Var[int | float] = field(
|
|
2990
|
+
doc="Animation speed of the rays. Default: 2.5."
|
|
2991
|
+
)
|
|
2992
|
+
ray_color1: rx.Var[str] = field(
|
|
2993
|
+
doc="Color of the first ray layer in hex format. Default: '#EAB308'."
|
|
2994
|
+
)
|
|
2995
|
+
ray_color2: rx.Var[str] = field(
|
|
2996
|
+
doc="Color of the second ray layer in hex format. Default: '#96c8ff'."
|
|
2997
|
+
)
|
|
2998
|
+
intensity: rx.Var[int | float] = field(
|
|
2999
|
+
doc="Overall brightness of the rays. Default: 2."
|
|
3000
|
+
)
|
|
3001
|
+
spread: rx.Var[int | float] = field(
|
|
3002
|
+
doc="Angular width of the ray fan \u2014 higher values create a wider spread between the two ray layers. Default: 2."
|
|
3003
|
+
)
|
|
3004
|
+
origin: rx.Var[Literal["top-right", "top-left", "bottom-right", "bottom-left"]] = field(
|
|
3005
|
+
doc="Corner of the canvas from which the rays emerge. Default: 'top-right'."
|
|
3006
|
+
)
|
|
3007
|
+
tilt: rx.Var[int | float] = field(
|
|
3008
|
+
doc="Rotation of the ray fan in degrees \u2014 positive values tilt clockwise. Default: 0."
|
|
3009
|
+
)
|
|
3010
|
+
saturation: rx.Var[int | float] = field(
|
|
3011
|
+
doc="Color saturation of the rays \u2014 0 renders in grayscale, values above 1 boost color. Default: 1.5."
|
|
3012
|
+
)
|
|
3013
|
+
blend: rx.Var[int | float] = field(
|
|
3014
|
+
doc="Balance between the two ray layers \u2014 0 is all ray 1, 1 is all ray 2. Default: 0.75."
|
|
3015
|
+
)
|
|
3016
|
+
falloff: rx.Var[int | float] = field(
|
|
3017
|
+
doc="How steeply brightness diminishes with distance from the source \u2014 higher = tighter glow. Default: 1.6."
|
|
3018
|
+
)
|
|
3019
|
+
opacity: rx.Var[int | float] = field(
|
|
3020
|
+
doc="Overall opacity of the effect. Default: 1.0."
|
|
3021
|
+
)
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
class Silk(ReactBitsComponent):
|
|
3025
|
+
"""Smooth waves background with soft lighting.
|
|
3026
|
+
|
|
3027
|
+
Docs: https://reactbits.dev/backgrounds/silk
|
|
3028
|
+
"""
|
|
3029
|
+
|
|
3030
|
+
tag = "Silk"
|
|
3031
|
+
alias = "ReactBitsSilk"
|
|
3032
|
+
is_default = True
|
|
3033
|
+
_rb_category = "Backgrounds"
|
|
3034
|
+
_rb_name = "Silk"
|
|
3035
|
+
_rb_files = ('Silk.jsx',)
|
|
3036
|
+
lib_dependencies: list[str] = ['@react-three/fiber@9.3.0', 'three@0.180.0']
|
|
3037
|
+
|
|
3038
|
+
speed: rx.Var[int | float] = field(
|
|
3039
|
+
doc="Controls the animation speed of the silk effect. Default: 5."
|
|
3040
|
+
)
|
|
3041
|
+
scale: rx.Var[int | float] = field(
|
|
3042
|
+
doc="Controls the scale of the silk pattern. Default: 1."
|
|
3043
|
+
)
|
|
3044
|
+
color: rx.Var[str] = field(
|
|
3045
|
+
doc="Hex color code for the silk pattern. Default: '#7B7481'."
|
|
3046
|
+
)
|
|
3047
|
+
noise_intensity: rx.Var[int | float] = field(
|
|
3048
|
+
doc="Controls the intensity of the noise effect. Default: 1.5."
|
|
3049
|
+
)
|
|
3050
|
+
rotation: rx.Var[int | float] = field(
|
|
3051
|
+
doc="Controls the rotation of the silk pattern (in radians). Default: 0."
|
|
3052
|
+
)
|
|
3053
|
+
light_mode: rx.Var[bool] = field(
|
|
3054
|
+
doc="The `lightMode` prop. Default: false."
|
|
3055
|
+
)
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
class SlicedWaves(ReactBitsComponent):
|
|
3059
|
+
"""A grid of soft glowing bars rippling like a slatted equalizer.
|
|
3060
|
+
|
|
3061
|
+
Docs: https://reactbits.dev/backgrounds/sliced-waves
|
|
3062
|
+
"""
|
|
3063
|
+
|
|
3064
|
+
tag = "SlicedWaves"
|
|
3065
|
+
alias = "ReactBitsSlicedWaves"
|
|
3066
|
+
is_default = True
|
|
3067
|
+
_rb_category = "Backgrounds"
|
|
3068
|
+
_rb_name = "SlicedWaves"
|
|
3069
|
+
_rb_files = ('SlicedWaves.css', 'SlicedWaves.jsx')
|
|
3070
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
3071
|
+
|
|
3072
|
+
color1: rx.Var[str] = field(
|
|
3073
|
+
doc="Highlight color for bars at the top of their travel. Default: '#FF9FFC'."
|
|
3074
|
+
)
|
|
3075
|
+
color2: rx.Var[str] = field(
|
|
3076
|
+
doc="Deep color for bars at the bottom of their travel. Default: '#5227FF'."
|
|
3077
|
+
)
|
|
3078
|
+
color3: rx.Var[str] = field(
|
|
3079
|
+
doc="Accent tint blended across the grid. Default: '#B497CF'."
|
|
3080
|
+
)
|
|
3081
|
+
columns: rx.Var[int | float] = field(
|
|
3082
|
+
doc="Number of grid columns. Default: 14."
|
|
3083
|
+
)
|
|
3084
|
+
rows: rx.Var[int | float] = field(
|
|
3085
|
+
doc="Number of grid rows. Default: 8."
|
|
3086
|
+
)
|
|
3087
|
+
bar_thickness: rx.Var[int | float] = field(
|
|
3088
|
+
doc="Thickness of each bar relative to its cell. Default: 0.1."
|
|
3089
|
+
)
|
|
3090
|
+
speed: rx.Var[int | float] = field(
|
|
3091
|
+
doc="Animation speed of the travelling wave. Default: 0.35."
|
|
3092
|
+
)
|
|
3093
|
+
travel: rx.Var[int | float] = field(
|
|
3094
|
+
doc="How far each bar moves within its cell. Default: 0.7."
|
|
3095
|
+
)
|
|
3096
|
+
wave_spread: rx.Var[int | float] = field(
|
|
3097
|
+
doc="Phase step between columns; controls how tight the wave is. Default: 0.9."
|
|
3098
|
+
)
|
|
3099
|
+
row_offset: rx.Var[int | float] = field(
|
|
3100
|
+
doc="Per-row phase offset that staggers the bars. Default: 1.0."
|
|
3101
|
+
)
|
|
3102
|
+
softness: rx.Var[int | float] = field(
|
|
3103
|
+
doc="Edge softness; higher values turn bars into glowing bands. Default: 0.05."
|
|
3104
|
+
)
|
|
3105
|
+
glow: rx.Var[int | float] = field(
|
|
3106
|
+
doc="Soft halo emitted around each bar. Default: 0."
|
|
3107
|
+
)
|
|
3108
|
+
brightness: rx.Var[int | float] = field(
|
|
3109
|
+
doc="Overall brightness of the bars. Default: 1.0."
|
|
3110
|
+
)
|
|
3111
|
+
contrast: rx.Var[int | float] = field(
|
|
3112
|
+
doc="Color contrast applied to the final render. Default: 1.0."
|
|
3113
|
+
)
|
|
3114
|
+
opacity: rx.Var[int | float] = field(
|
|
3115
|
+
doc="Overall opacity of the effect. Default: 0.5."
|
|
3116
|
+
)
|
|
3117
|
+
orientation: rx.Var[str] = field(
|
|
3118
|
+
doc="Bar orientation: 'horizontal' slats move vertically, 'vertical' slats move horizontally. Default: 'horizontal'."
|
|
3119
|
+
)
|
|
3120
|
+
alternate: rx.Var[bool] = field(
|
|
3121
|
+
doc="Reverse the travel direction on alternating rows. Default: false."
|
|
3122
|
+
)
|
|
3123
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
3124
|
+
doc="Enable cursor-proximity brightening and thickening. Default: true."
|
|
3125
|
+
)
|
|
3126
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
3127
|
+
doc="Strength of the cursor-proximity response. Default: 1."
|
|
3128
|
+
)
|
|
3129
|
+
mouse_radius: rx.Var[int | float] = field(
|
|
3130
|
+
doc="Radius of the cursor influence falloff. Default: 0.3."
|
|
3131
|
+
)
|
|
3132
|
+
grain: rx.Var[bool] = field(
|
|
3133
|
+
doc="Adds a subtle animated grain. Default: true."
|
|
3134
|
+
)
|
|
3135
|
+
grain_intensity: rx.Var[int | float] = field(
|
|
3136
|
+
doc="Amplitude of the grain overlay. 0 disables it entirely. Default: 0.05."
|
|
3137
|
+
)
|
|
3138
|
+
light_mode: rx.Var[bool] = field(
|
|
3139
|
+
doc="The `lightMode` prop. Default: false."
|
|
3140
|
+
)
|
|
3141
|
+
|
|
3142
|
+
|
|
3143
|
+
class SoftAurora(ReactBitsComponent):
|
|
3144
|
+
"""Soft aurora borealis shader with 3D Perlin noise and cosine gradient palettes.
|
|
3145
|
+
|
|
3146
|
+
Docs: https://reactbits.dev/backgrounds/soft-aurora
|
|
3147
|
+
"""
|
|
3148
|
+
|
|
3149
|
+
tag = "SoftAurora"
|
|
3150
|
+
alias = "ReactBitsSoftAurora"
|
|
3151
|
+
is_default = True
|
|
3152
|
+
_rb_category = "Backgrounds"
|
|
3153
|
+
_rb_name = "SoftAurora"
|
|
3154
|
+
_rb_files = ('SoftAurora.css', 'SoftAurora.jsx')
|
|
3155
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
3156
|
+
|
|
3157
|
+
speed: rx.Var[int | float] = field(
|
|
3158
|
+
doc="Overall animation speed multiplier. Default: 0.6."
|
|
3159
|
+
)
|
|
3160
|
+
scale: rx.Var[int | float] = field(
|
|
3161
|
+
doc="Scale of the noise pattern. Default: 1.5."
|
|
3162
|
+
)
|
|
3163
|
+
brightness: rx.Var[int | float] = field(
|
|
3164
|
+
doc="Overall brightness multiplier. Default: 1.0."
|
|
3165
|
+
)
|
|
3166
|
+
color1: rx.Var[str] = field(
|
|
3167
|
+
doc="Tint color for the first aurora layer. Default: '#f7f7f7'."
|
|
3168
|
+
)
|
|
3169
|
+
color2: rx.Var[str] = field(
|
|
3170
|
+
doc="Tint color for the second aurora layer. Default: '#e100ff'."
|
|
3171
|
+
)
|
|
3172
|
+
noise_frequency: rx.Var[int | float] = field(
|
|
3173
|
+
doc="Base frequency of the Perlin noise. Default: 2.5."
|
|
3174
|
+
)
|
|
3175
|
+
noise_amplitude: rx.Var[int | float] = field(
|
|
3176
|
+
doc="Base amplitude of the Perlin noise. Default: 1.0."
|
|
3177
|
+
)
|
|
3178
|
+
band_height: rx.Var[int | float] = field(
|
|
3179
|
+
doc="Vertical position of the aurora band (0-1). Default: 0.5."
|
|
3180
|
+
)
|
|
3181
|
+
band_spread: rx.Var[int | float] = field(
|
|
3182
|
+
doc="Vertical spread of the aurora glow. Default: 1.0."
|
|
3183
|
+
)
|
|
3184
|
+
octave_decay: rx.Var[int | float] = field(
|
|
3185
|
+
doc="Amplitude decay per noise octave. Default: 0.1."
|
|
3186
|
+
)
|
|
3187
|
+
layer_offset: rx.Var[int | float] = field(
|
|
3188
|
+
doc="Time offset between the two aurora layers. Default: 0."
|
|
3189
|
+
)
|
|
3190
|
+
color_speed: rx.Var[int | float] = field(
|
|
3191
|
+
doc="Speed of palette color shifting. Default: 1.0."
|
|
3192
|
+
)
|
|
3193
|
+
enable_mouse_interaction: rx.Var[bool] = field(
|
|
3194
|
+
doc="Enable cursor-reactive aurora offset. Default: true."
|
|
3195
|
+
)
|
|
3196
|
+
mouse_influence: rx.Var[int | float] = field(
|
|
3197
|
+
doc="Strength of the mouse offset effect. Default: 0.25."
|
|
3198
|
+
)
|
|
3199
|
+
light_mode: rx.Var[bool] = field(
|
|
3200
|
+
doc="The `lightMode` prop. Default: false."
|
|
3201
|
+
)
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
class Threads(ReactBitsComponent):
|
|
3205
|
+
"""Animated pattern of lines forming a fabric-like motion.
|
|
3206
|
+
|
|
3207
|
+
Docs: https://reactbits.dev/backgrounds/threads
|
|
3208
|
+
"""
|
|
3209
|
+
|
|
3210
|
+
tag = "Threads"
|
|
3211
|
+
alias = "ReactBitsThreads"
|
|
3212
|
+
is_default = True
|
|
3213
|
+
_rb_category = "Backgrounds"
|
|
3214
|
+
_rb_name = "Threads"
|
|
3215
|
+
_rb_files = ('Threads.css', 'Threads.jsx')
|
|
3216
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
3217
|
+
|
|
3218
|
+
color: rx.Var[list[int | float]] = field(
|
|
3219
|
+
doc="Customizes the color of the lines (RGB). Default: [1, 1, 1]."
|
|
3220
|
+
)
|
|
3221
|
+
amplitude: rx.Var[int | float] = field(
|
|
3222
|
+
doc="Adjusts the intensity of the wave effect on the lines. Default: 1."
|
|
3223
|
+
)
|
|
3224
|
+
distance: rx.Var[int | float] = field(
|
|
3225
|
+
doc="Controls the spacing between the lines. A value of 0 means no offset. Default: 0."
|
|
3226
|
+
)
|
|
3227
|
+
enable_mouse_interaction: rx.Var[bool] = field(
|
|
3228
|
+
doc="Enables smooth mouse hover effects that modulate the line's movement and amplitude. Default: false."
|
|
3229
|
+
)
|
|
3230
|
+
|
|
3231
|
+
|
|
3232
|
+
class Topography(ReactBitsComponent):
|
|
3233
|
+
"""A living contour map with glowing, elevation-tinted lines.
|
|
3234
|
+
|
|
3235
|
+
Docs: https://reactbits.dev/backgrounds/topography
|
|
3236
|
+
"""
|
|
3237
|
+
|
|
3238
|
+
tag = "Topography"
|
|
3239
|
+
alias = "ReactBitsTopography"
|
|
3240
|
+
is_default = True
|
|
3241
|
+
_rb_category = "Backgrounds"
|
|
3242
|
+
_rb_name = "Topography"
|
|
3243
|
+
_rb_files = ('Topography.css', 'Topography.jsx')
|
|
3244
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
3245
|
+
|
|
3246
|
+
low_color: rx.Var[str] = field(
|
|
3247
|
+
doc="Color used for the lowest elevation bands. Default: '#5227FF'."
|
|
3248
|
+
)
|
|
3249
|
+
mid_color: rx.Var[str] = field(
|
|
3250
|
+
doc="Color used for the mid elevation bands. Default: '#FF9FFC'."
|
|
3251
|
+
)
|
|
3252
|
+
high_color: rx.Var[str] = field(
|
|
3253
|
+
doc="Color used for the highest ridge lines. Default: '#FFFFFF'."
|
|
3254
|
+
)
|
|
3255
|
+
speed: rx.Var[int | float] = field(
|
|
3256
|
+
doc="Animation speed of the morphing elevation field. Default: 0.35."
|
|
3257
|
+
)
|
|
3258
|
+
morph_amount: rx.Var[int | float] = field(
|
|
3259
|
+
doc="Amplitude of the field morphing (how much the terrain shifts). Default: 3.0."
|
|
3260
|
+
)
|
|
3261
|
+
morph_speed: rx.Var[int | float] = field(
|
|
3262
|
+
doc="How differently each control point animates over time. Default: 0.05."
|
|
3263
|
+
)
|
|
3264
|
+
bands: rx.Var[int | float] = field(
|
|
3265
|
+
doc="Contour line density (number of elevation bands). Default: 2.0."
|
|
3266
|
+
)
|
|
3267
|
+
thickness: rx.Var[int | float] = field(
|
|
3268
|
+
doc="Thickness of the contour lines. Default: 0.01."
|
|
3269
|
+
)
|
|
3270
|
+
scale: rx.Var[int | float] = field(
|
|
3271
|
+
doc="Zoom level of the topographic field. Default: 1.0."
|
|
3272
|
+
)
|
|
3273
|
+
pixel_size: rx.Var[int | float] = field(
|
|
3274
|
+
doc="Retro pixelation step (1 = smooth, higher = chunkier). Default: 1.0."
|
|
3275
|
+
)
|
|
3276
|
+
glow: rx.Var[int | float] = field(
|
|
3277
|
+
doc="Soft bloom radius around the contour lines. Default: 0.5."
|
|
3278
|
+
)
|
|
3279
|
+
color_mode: rx.Var[str] = field(
|
|
3280
|
+
doc="Line coloring mode: 'elevation', 'uniform', or 'alternating'. Default: 'elevation'."
|
|
3281
|
+
)
|
|
3282
|
+
contrast: rx.Var[int | float] = field(
|
|
3283
|
+
doc="Contrast of the line coverage (sharpens or softens lines). Default: 3.0."
|
|
3284
|
+
)
|
|
3285
|
+
brightness: rx.Var[int | float] = field(
|
|
3286
|
+
doc="Overall brightness of the contour lines. Default: 1.0."
|
|
3287
|
+
)
|
|
3288
|
+
fill_bands: rx.Var[bool] = field(
|
|
3289
|
+
doc="Softly tint the areas between contour lines by elevation. Default: false."
|
|
3290
|
+
)
|
|
3291
|
+
opacity: rx.Var[int | float] = field(
|
|
3292
|
+
doc="Overall opacity of the effect. Default: 1.0."
|
|
3293
|
+
)
|
|
3294
|
+
grain: rx.Var[bool] = field(
|
|
3295
|
+
doc="Whisper-subtle animated film grain over the effect. Default: true."
|
|
3296
|
+
)
|
|
3297
|
+
grain_intensity: rx.Var[int | float] = field(
|
|
3298
|
+
doc="Amplitude of the grain overlay. 0 disables it entirely. Default: 0.05."
|
|
3299
|
+
)
|
|
3300
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
3301
|
+
doc="Lift the elevation field gently around the cursor. Default: true."
|
|
3302
|
+
)
|
|
3303
|
+
mouse_radius: rx.Var[int | float] = field(
|
|
3304
|
+
doc="Radius of the cursor elevation bump. Default: 0.3."
|
|
3305
|
+
)
|
|
3306
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
3307
|
+
doc="Strength of the cursor elevation bump. Default: 0.4."
|
|
3308
|
+
)
|
|
3309
|
+
light_mode: rx.Var[bool] = field(
|
|
3310
|
+
doc="The `lightMode` prop. Default: false."
|
|
3311
|
+
)
|
|
3312
|
+
|
|
3313
|
+
|
|
3314
|
+
class Waves(ReactBitsComponent):
|
|
3315
|
+
"""Layered lines that form smooth wave patterns with animation.
|
|
3316
|
+
|
|
3317
|
+
Docs: https://reactbits.dev/backgrounds/waves
|
|
3318
|
+
"""
|
|
3319
|
+
|
|
3320
|
+
tag = "Waves"
|
|
3321
|
+
alias = "ReactBitsWaves"
|
|
3322
|
+
is_default = True
|
|
3323
|
+
_rb_category = "Backgrounds"
|
|
3324
|
+
_rb_name = "Waves"
|
|
3325
|
+
_rb_files = ('Waves.css', 'Waves.jsx')
|
|
3326
|
+
|
|
3327
|
+
line_color: rx.Var[str] = field(
|
|
3328
|
+
doc="Defines the color of the wave lines drawn on the canvas. Default: 'black'."
|
|
3329
|
+
)
|
|
3330
|
+
background_color: rx.Var[str] = field(
|
|
3331
|
+
doc="Sets the background color of the waves container. Default: 'transparent'."
|
|
3332
|
+
)
|
|
3333
|
+
wave_speed_x: rx.Var[int | float] = field(
|
|
3334
|
+
doc="Horizontal speed factor for the wave animation. Default: 0.0125."
|
|
3335
|
+
)
|
|
3336
|
+
wave_speed_y: rx.Var[int | float] = field(
|
|
3337
|
+
doc="Vertical speed factor for the wave animation. Default: 0.005."
|
|
3338
|
+
)
|
|
3339
|
+
wave_amp_x: rx.Var[int | float] = field(
|
|
3340
|
+
doc="Horizontal amplitude of each wave. Default: 32."
|
|
3341
|
+
)
|
|
3342
|
+
wave_amp_y: rx.Var[int | float] = field(
|
|
3343
|
+
doc="Vertical amplitude of each wave. Default: 16."
|
|
3344
|
+
)
|
|
3345
|
+
x_gap: rx.Var[int | float] = field(
|
|
3346
|
+
doc="Horizontal gap between individual wave lines. Default: 10."
|
|
3347
|
+
)
|
|
3348
|
+
y_gap: rx.Var[int | float] = field(
|
|
3349
|
+
doc="Vertical gap between points on each wave line. Default: 32."
|
|
3350
|
+
)
|
|
3351
|
+
friction: rx.Var[int | float] = field(
|
|
3352
|
+
doc="Controls how quickly the cursor effect slows down. Default: 0.925."
|
|
3353
|
+
)
|
|
3354
|
+
tension: rx.Var[int | float] = field(
|
|
3355
|
+
doc="Determines the 'springiness' of the cursor effect on points. Default: 0.005."
|
|
3356
|
+
)
|
|
3357
|
+
max_cursor_move: rx.Var[int | float] = field(
|
|
3358
|
+
doc="Limits how far each point can shift due to cursor movement. Default: 100."
|
|
3359
|
+
)
|
|
3360
|
+
|
|
3361
|
+
|
|
3362
|
+
class WebThreads(ReactBitsComponent):
|
|
3363
|
+
"""Glowing sine threads woven through a luminous convergence point.
|
|
3364
|
+
|
|
3365
|
+
Docs: https://reactbits.dev/backgrounds/web-threads
|
|
3366
|
+
"""
|
|
3367
|
+
|
|
3368
|
+
tag = "WebThreads"
|
|
3369
|
+
alias = "ReactBitsWebThreads"
|
|
3370
|
+
is_default = True
|
|
3371
|
+
_rb_category = "Backgrounds"
|
|
3372
|
+
_rb_name = "WebThreads"
|
|
3373
|
+
_rb_files = ('WebThreads.css', 'WebThreads.jsx')
|
|
3374
|
+
lib_dependencies: list[str] = ['ogl@1.0.11']
|
|
3375
|
+
|
|
3376
|
+
color1: rx.Var[str] = field(
|
|
3377
|
+
doc="Color of the first thread; threads blend from this toward color2. Default: '#5227FF'."
|
|
3378
|
+
)
|
|
3379
|
+
color2: rx.Var[str] = field(
|
|
3380
|
+
doc="Color of the last thread; threads blend toward this hue. Default: '#FF9FFC'."
|
|
3381
|
+
)
|
|
3382
|
+
color3: rx.Var[str] = field(
|
|
3383
|
+
doc="Hot-core color mixed into the brightest parts of the threads. Default: '#FFFFFF'."
|
|
3384
|
+
)
|
|
3385
|
+
speed: rx.Var[int | float] = field(
|
|
3386
|
+
doc="Animation speed of the weaving motion. Default: 0.2."
|
|
3387
|
+
)
|
|
3388
|
+
thread_count: rx.Var[int | float] = field(
|
|
3389
|
+
doc="Number of glowing threads (1\u201310). Default: 6."
|
|
3390
|
+
)
|
|
3391
|
+
frequency: rx.Var[int | float] = field(
|
|
3392
|
+
doc="Number of sine waves across the screen width. Default: 5.0."
|
|
3393
|
+
)
|
|
3394
|
+
spread: rx.Var[int | float] = field(
|
|
3395
|
+
doc="How far the threads fan out away from the pinch point. Default: 0.18."
|
|
3396
|
+
)
|
|
3397
|
+
taper: rx.Var[int | float] = field(
|
|
3398
|
+
doc="Per-thread amplitude growth; higher values fan later threads out more. Default: 1.0."
|
|
3399
|
+
)
|
|
3400
|
+
position: rx.Var[int | float] = field(
|
|
3401
|
+
doc="Vertical position of the woven strand (0 bottom, 1 top). Default: 0.5."
|
|
3402
|
+
)
|
|
3403
|
+
fan_mode: rx.Var[str] = field(
|
|
3404
|
+
doc="Where the threads pinch together: center, left, or right. Default: 'center'."
|
|
3405
|
+
)
|
|
3406
|
+
glow: rx.Var[int | float] = field(
|
|
3407
|
+
doc="Brightness of the glow radiating from each thread. Default: 0.02."
|
|
3408
|
+
)
|
|
3409
|
+
falloff: rx.Var[int | float] = field(
|
|
3410
|
+
doc="How tightly the glow hugs the thread (higher = thinner filament). Default: 0.6."
|
|
3411
|
+
)
|
|
3412
|
+
thickness: rx.Var[int | float] = field(
|
|
3413
|
+
doc="Core thickness of each thread. Default: 1.1."
|
|
3414
|
+
)
|
|
3415
|
+
brightness: rx.Var[int | float] = field(
|
|
3416
|
+
doc="Overall brightness multiplier. Default: 0.6."
|
|
3417
|
+
)
|
|
3418
|
+
opacity: rx.Var[int | float] = field(
|
|
3419
|
+
doc="Overall opacity of the effect (0\u20131). Default: 1.0."
|
|
3420
|
+
)
|
|
3421
|
+
mirror: rx.Var[bool] = field(
|
|
3422
|
+
doc="Mirror the wave phase across the pinch point for a woven look. Default: true."
|
|
3423
|
+
)
|
|
3424
|
+
shimmer: rx.Var[bool] = field(
|
|
3425
|
+
doc="Add a subtle per-thread phase shimmer. Default: false."
|
|
3426
|
+
)
|
|
3427
|
+
grain: rx.Var[bool] = field(
|
|
3428
|
+
doc="Overlay a whisper-subtle animated film grain on the threads. Default: true."
|
|
3429
|
+
)
|
|
3430
|
+
grain_intensity: rx.Var[int | float] = field(
|
|
3431
|
+
doc="Amplitude of the grain overlay. 0 disables it entirely. Default: 0.05."
|
|
3432
|
+
)
|
|
3433
|
+
mouse_interaction: rx.Var[bool] = field(
|
|
3434
|
+
doc="Let the pinch point drift toward the cursor with a soft brightness bloom. Default: true."
|
|
3435
|
+
)
|
|
3436
|
+
mouse_strength: rx.Var[int | float] = field(
|
|
3437
|
+
doc="Strength of the cursor influence on the pinch point and bloom. Default: 0.3."
|
|
3438
|
+
)
|
|
3439
|
+
background_color: rx.Var[str] = field(
|
|
3440
|
+
doc="The `backgroundColor` prop. Default: '#FFFFFF'."
|
|
3441
|
+
)
|
|
3442
|
+
light_mode: rx.Var[bool] = field(
|
|
3443
|
+
doc="The `lightMode` prop. Default: false."
|
|
3444
|
+
)
|
|
3445
|
+
|
|
3446
|
+
|
|
3447
|
+
acid_squares = AcidSquares.create
|
|
3448
|
+
aero_shards = AeroShards.create
|
|
3449
|
+
aurora = Aurora.create
|
|
3450
|
+
balatro = Balatro.create
|
|
3451
|
+
ballpit = Ballpit.create
|
|
3452
|
+
beams = Beams.create
|
|
3453
|
+
crt_warp = CRTWarp.create
|
|
3454
|
+
color_bends = ColorBends.create
|
|
3455
|
+
dark_veil = DarkVeil.create
|
|
3456
|
+
dither = Dither.create
|
|
3457
|
+
dot_field = DotField.create
|
|
3458
|
+
dot_grid = DotGrid.create
|
|
3459
|
+
evil_eye = EvilEye.create
|
|
3460
|
+
faulty_terminal = FaultyTerminal.create
|
|
3461
|
+
ferrofluid = Ferrofluid.create
|
|
3462
|
+
floating_lines = FloatingLines.create
|
|
3463
|
+
galaxy = Galaxy.create
|
|
3464
|
+
ghost_fibers = GhostFibers.create
|
|
3465
|
+
gradient_blinds = GradientBlinds.create
|
|
3466
|
+
gradient_waves = GradientWaves.create
|
|
3467
|
+
grainient = Grainient.create
|
|
3468
|
+
grid_distortion = GridDistortion.create
|
|
3469
|
+
grid_motion = GridMotion.create
|
|
3470
|
+
grid_scan = GridScan.create
|
|
3471
|
+
hyperspeed = Hyperspeed.create
|
|
3472
|
+
iridescence = Iridescence.create
|
|
3473
|
+
letter_glitch = LetterGlitch.create
|
|
3474
|
+
light_pillar = LightPillar.create
|
|
3475
|
+
light_rays = LightRays.create
|
|
3476
|
+
light_tunnel = LightTunnel.create
|
|
3477
|
+
lightfall = Lightfall.create
|
|
3478
|
+
lightning = Lightning.create
|
|
3479
|
+
line_waves = LineWaves.create
|
|
3480
|
+
liquid_chrome = LiquidChrome.create
|
|
3481
|
+
liquid_ether = LiquidEther.create
|
|
3482
|
+
molten_metal = MoltenMetal.create
|
|
3483
|
+
orb = Orb.create
|
|
3484
|
+
particles = Particles.create
|
|
3485
|
+
pixel_blast = PixelBlast.create
|
|
3486
|
+
pixel_snow = PixelSnow.create
|
|
3487
|
+
plasma = Plasma.create
|
|
3488
|
+
plasma_wave = PlasmaWave.create
|
|
3489
|
+
prism = Prism.create
|
|
3490
|
+
prismatic_burst = PrismaticBurst.create
|
|
3491
|
+
radar = Radar.create
|
|
3492
|
+
ripple_grid = RippleGrid.create
|
|
3493
|
+
scanner = Scanner.create
|
|
3494
|
+
shape_grid = ShapeGrid.create
|
|
3495
|
+
shape_waves = ShapeWaves.create
|
|
3496
|
+
side_rays = SideRays.create
|
|
3497
|
+
silk = Silk.create
|
|
3498
|
+
sliced_waves = SlicedWaves.create
|
|
3499
|
+
soft_aurora = SoftAurora.create
|
|
3500
|
+
threads = Threads.create
|
|
3501
|
+
topography = Topography.create
|
|
3502
|
+
waves = Waves.create
|
|
3503
|
+
web_threads = WebThreads.create
|