@@ -134,11 +134,11 @@ const raysOrigin = ref<RaysOrigin>('top-center');
134
134
const raysColor = ref (' #ffffff' );
135
135
const raysSpeed = ref (1 );
136
136
const lightSpread = ref (0.5 );
137
- const rayLength = ref (3 .0 );
137
+ const rayLength = ref (1 .0 );
138
138
const pulsating = ref (false );
139
139
const fadeDistance = ref (1.0 );
140
140
const saturation = ref (1.0 );
141
- const mouseInfluence = ref (0.1 );
141
+ const mouseInfluence = ref (0.5 );
142
142
const noiseAmount = ref (0.0 );
143
143
const distortion = ref (0.0 );
144
144
@@ -177,55 +177,61 @@ const propData = [
177
177
name: ' lightSpread' ,
178
178
type: ' number' ,
179
179
default: ' 0.5' ,
180
- description: ' Controls how wide the light rays spread'
180
+ description: ' How wide the light rays spread. Lower values = tighter rays, higher values = wider spread'
181
181
},
182
182
{
183
183
name: ' rayLength' ,
184
184
type: ' number' ,
185
- default: ' 3 .0' ,
186
- description: ' Length of the light rays'
185
+ default: ' 1 .0' ,
186
+ description: ' Maximum length/reach of the rays'
187
187
},
188
188
{
189
189
name: ' pulsating' ,
190
190
type: ' boolean' ,
191
191
default: ' false' ,
192
- description: ' Whether the rays should pulsate '
192
+ description: ' Enable pulsing animation effect '
193
193
},
194
194
{
195
195
name: ' fadeDistance' ,
196
196
type: ' number' ,
197
197
default: ' 1.0' ,
198
- description: ' Distance at which the rays fade out'
198
+ description: ' How far rays fade out from origin '
199
199
},
200
200
{
201
201
name: ' saturation' ,
202
202
type: ' number' ,
203
203
default: ' 1.0' ,
204
- description: ' Color saturation of the rays '
204
+ description: ' Color saturation level (0-1) '
205
205
},
206
206
{
207
207
name: ' followMouse' ,
208
208
type: ' boolean' ,
209
209
default: ' false' ,
210
- description: ' Whether the rays should follow the mouse cursor'
210
+ description: ' Make rays rotate towards the mouse cursor'
211
211
},
212
212
{
213
213
name: ' mouseInfluence' ,
214
214
type: ' number' ,
215
- default: ' 0.1 ' ,
216
- description: ' How much the mouse movement affects the rays'
215
+ default: ' 0.5 ' ,
216
+ description: ' How much mouse affects rays (0-1) '
217
217
},
218
218
{
219
219
name: ' noiseAmount' ,
220
220
type: ' number' ,
221
221
default: ' 0.0' ,
222
- description: ' Amount of noise/distortion in the rays'
222
+ description: ' Add noise/grain to rays (0-1) '
223
223
},
224
224
{
225
225
name: ' distortion' ,
226
226
type: ' number' ,
227
227
default: ' 0.0' ,
228
- description: ' Amount of wave distortion in the rays'
228
+ description: ' Apply wave distortion to rays'
229
+ },
230
+ {
231
+ name: ' className' ,
232
+ type: ' string' ,
233
+ default: ' ""' ,
234
+ description: ' Additional CSS classes to apply to the container'
229
235
}
230
236
];
231
237
</script >
0 commit comments