Galaxy

Customize Galaxy

Density1.50
Glow Intensity0.50
Saturation0.80
Hue Shift240°
Star Speed0.50
Animation Speed1.00
Twinkle Intensity0.30
Rotation Speed0.10
Repulsion Strength2.0
Auto Center Repulsion0.0
Focal X0.50
Focal Y0.50
Rotation X1.00
Rotation Y0.00

Props

PropertyTypeDefaultDescription
mouseRepulsionbooleanEnable or disable mouse repulsion effect on stars
mouseInteractionbooleanEnable or disable mouse interaction with the galaxy
densitynumber1.5Star density multiplier (0.5-3)
glowIntensitynumber0.5Intensity of star glow effect (0-2)
saturationnumber0.8Color saturation of the galaxy (0-2)
hueShiftnumber240Hue shift for color adjustment in degrees (0-360)
starSpeednumber0.5Speed of star movement (0-2)
speednumber1Overall animation speed multiplier (0-3)
twinkleIntensitynumber0.3Intensity of star twinkling effect (0-1)
rotationSpeednumber0.1Speed of galaxy rotation (0-0.5)
repulsionStrengthnumber2Strength of mouse repulsion effect (0-10)
autoCenterRepulsionnumber0Auto center repulsion strength (0-5)
transparentbooleanEnable or disable transparency in the galaxy
disableAnimationbooleanDisable all animations for static display
focalnumber[][0.5, 0.5]Focal point coordinates [x, y] (0-1 for each axis)
rotationnumber[][1, 0]Rotation angles [x, y] in radians (-2 to 2 for each axis)
classNamestringcustom-galaxyAdditional CSS class names for styling
widthstring100%Width of the galaxy container
heightstring600pxHeight of the galaxy container
qualitystringhighRendering quality - 'low', 'medium', or 'high'

Dependencies

oglreact

Created with ❤️ by Cybershoora