QuantumSphere
Documentation / lib/components/SearchWeb/extras/QuantumSphere
Author​
OrbitalSphereConfig​
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:11
Configuration object for the Quantum Wave Orbital component Controls all aspects of the orbital sphere's appearance and behavior
Properties​
Property | Type | Description | Defined in |
---|---|---|---|
| Minimum number of orbital lines to generate (default: 6) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:13 | |
| Maximum number of orbital lines to generate (default: 12) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:16 | |
| Minimum sphere diameter in pixels (default: 120) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:19 | |
| Maximum sphere diameter in pixels (default: 180) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:22 | |
| Minimum border width for orbital lines in pixels (default: 0.8) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:25 | |
| Maximum border width for orbital lines in pixels (default: 1.6) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:28 | |
| Minimum glow intensity for box-shadow effect in pixels (default: 6) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:31 | |
| Maximum glow intensity for box-shadow effect in pixels (default: 12) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:34 | |
| Minimum rotation speed in seconds per full rotation (default: 0.5) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:37 | |
| Maximum rotation speed in seconds per full rotation (default: 2) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:40 | |
| Minimum HSL saturation percentage (0-100) for colors (default: 70) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:43 | |
| Maximum HSL saturation percentage (0-100) for colors (default: 90) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:46 | |
| Minimum HSL lightness percentage (0-100) for colors (default: 50) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:49 | |
| Maximum HSL lightness percentage (0-100) for colors (default: 70) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:52 | |
| Minimum time in milliseconds before auto-randomizing sphere (default: 5000) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:55 | |
| Maximum time in milliseconds before auto-randomizing sphere (default: 12000) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:58 | |
| Overall opacity for all orbital lines (0-1) (default: 0.75) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:61 |
OrbitalLine​
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:68
Individual orbital line data structure Each line represents one orbital ring in the sphere
Properties​
Property | Type | Description | Defined in |
---|---|---|---|
| Unique identifier for the orbital line | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:70 | |
| Initial X-axis rotation angle in degrees (0-360) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:73 | |
| Initial Y-axis rotation angle in degrees (0-360) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:76 | |
| Initial Z-axis rotation angle in degrees (0-360) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:79 | |
| HSL hue value for this line's color (0-360) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:82 | |
| Speed multiplier for this line's rotation (0.5-1.5) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:85 | |
| Lightness in monochrome scheme | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:88 |
SphereData​
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:95
Generated sphere configuration containing all computed values Created by generateSphereConfig() function
Properties​
Property | Type | Description | Defined in |
---|---|---|---|
Array of orbital line configurations | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:97 | ||
| Computed sphere size in pixels | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:100 | |
| Computed line width in pixels | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:103 | |
| Computed glow intensity in pixels | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:106 | |
| Computed base rotation speed in seconds | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:109 | |
| Computed HSL saturation percentage | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:112 | |
| Computed HSL lightness percentage | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:115 | |
Name of the color scheme being used | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:118 |
HoverEffects​
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:125
Hover effects applied when mouse hovers over orbital lines Generated randomly on each hover interaction
Properties​
Property | Type | Description | Defined in |
---|---|---|---|
| Hue shift amount in degrees (-90 to 90) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:127 | |
| Saturation boost percentage (10-30) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:130 | |
| Lightness shift percentage (-20 to 20) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:133 | |
| Glow intensity multiplier (1.5-3) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:136 | |
| Rotation speed multiplier (0.3-2.5) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:139 | |
| Scale transformation multiplier (1.1-1.4) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:142 |
LineStyle​
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:149
Computed CSS styles for individual orbital lines Generated by the effect and applied to each line element
Properties​
Property | Type | Description | Defined in |
---|---|---|---|
| CSS transform string with rotation and scale | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:151 | |
| Border color as HSLA string | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:154 | |
| Border width in pixels | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:157 | |
| Box shadow for glow effect | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:160 | |
| Animation duration in seconds | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:163 | |
| Z-index for layering (higher for hovered lines) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:166 |
OrbitalSphereProps​
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:173
Props interface for the OrbitalSphere Svelte component Defines all possible props that can be passed to the component
Properties​
Property | Type | Description | Defined in |
---|---|---|---|
Configuration object controlling sphere behavior and appearance | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:175 | ||
| Whether to automatically randomize the sphere periodically | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:178 | |
| Additional CSS classes to apply to the container | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:181 | |
() => | Callback function triggered when the sphere is clicked | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:184 |
OrbitalSphereState​
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:238
Complete type definition for the component's internal state Includes all reactive variables and computed values
Properties​
Property | Type | Description | Defined in |
---|---|---|---|
Current sphere configuration and line data | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:240 | ||
| Current hue shift amount for color animation | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:243 | |
| ID of currently hovered orbital line (null if none) | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:246 | |
Current hover effects configuration | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:249 | ||
| Reference to the sphere DOM element | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:252 | |
| Timeout ID for auto-randomization | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:255 | |
| Timeout ID for hue shift animation | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:258 | |
| Computed styles for each orbital line | apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:261 |
RandomFunction()​
type RandomFunction = () => number;
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:191
Type for the random number generator function Uses a seeded linear congruential generator for consistent randomness
Returns​
number
RandomRangeFunction()​
type RandomRangeFunction = (min: number, max: number) => number;
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:197
Type for the random range utility function Generates a random number between min and max (inclusive)
Parameters​
Parameter | Type |
---|---|
|
|
|
|
Returns​
number
RandomIntFunction()​
type RandomIntFunction = (min: number, max: number) => number;
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:203
Type for the random integer utility function
Generates a random integer between min and max (inclusive)
Parameters​
Parameter | Type |
---|---|
|
|
|
|
Returns​
number
ColorScheme​
type ColorScheme =
| "Single"
| "Dual"
| "Rainbow"
| "Random"
| "Complementary"
| "Triadic"
| "Analogous"
| "Split"
| "Tetradic"
| "Monochromatic"
| "Warm"
| "Cool"
| "Neon"
| "Sunset"
| "Ocean"
| "Forest"
| "Galaxy"
| "Fire"
| "Ice"
| "Cyberpunk"
| "Pastel"
| "Vintage"
| "Gradient"
| "Electric";
Defined in: apps/web/src/lib/components/SearchWeb/extras/QuantumSphere.d.ts:209
Color scheme types supported by the orbital sphere Determines how colors are distributed across orbital lines