Initializing Subsurface Scattering Sphere Cluster...
Orbs • APEX PRO

Ball Lights

Interactive 3D glowing light sphere cluster with physics attraction and mouse repulsion.

INSTALLATION & DEPENDENCIES
React 19 / 18Next.js App RouterTypeScriptThree.js / WebGL

1. Install Required Packages

npm install three lucide-react react react-dom

2. CLI Component Add

npx @apexphase/ui add ball-lights
Loading Code Viewer...
SPECIFICATION

Props & API Reference

← Scroll specifications horizontally →
PropTypeDefaultDescription
glowIntensity
number1.0Volumetric point light radiant intensity multiplier driving core subsurface glow.
themeColor
'greymac' | 'emerald' | 'amber' | 'cyan' | 'obsidian' | 'amethyst' | 'custom''greymac'Curated optical color preset calculating subsurface scattering wavelengths and ACES tonemapping.
customLightColor
string'#cd56ff'Custom hexadecimal light color used when themeColor is set to 'custom'.
roughness
number0.0Physical micro-surface roughness affecting specular highlight spread across sphere instances.
metalness
number1.0MeshPhysicalMaterial metalness property controlling dielectric vs conductor reflection response.
sssScale
number10.0Subsurface scattering thickness scale uniform modulating light penetration distance.
sssPower
number2.0Subsurface scattering thickness power exponent controlling falloff sharpness inside the geometry.
exposure
number1.0ACES Filmic tone mapping exposure factor calibrating HDR dynamic range and luminance headroom.
count
number50Total number of instanced spheres generated in the physics cluster simulation.
leadSize
number2.2Radius scalar of the primary central anchor sphere housing the point light driver.
attraction
number0.15Centripetal gravitational pull factor pulling orbiting satellite spheres towards anchor zero.
friction
number0.9975Inertial velocity dampening multiplier applied per simulation tick to stabilize kinetic oscillation.
cursorEnabled
booleantrueEnables 3D raycasted cursor tracking to displace and drag the sphere cluster across the viewport.
emblemText
string'ApexPhase'High-DPI illuminated serif typography rendered to the center chromatic caustic plane.
causticSpeed
number1.0Temporal frequency multiplier controlling volumetric caustic ray oscillation speed.
chromaticShift
number1.0Radial chromatic aberration offset distance separating red, cyan, and magenta diffraction channels.
emblemVisible
booleantrueToggles visibility of the central illuminated emblem and volumetric caustic rays.
START YOUR NEXT PHASE

Want this on your site? We integrate it, or unlock weekly drops with Pro.

WEEKLY DROPS

We publish 1 or 2 new components every single week.

Don't miss them.

Want This On Your Site?

idlehover cardhover button