@qctrl/visualizer
Version:
The Q-CTRL Visualizer is a package for displaying animated 3d Bloch sphere visualizations.
10 lines (9 loc) • 326 B
TypeScript
import { PointLight, Group } from "three";
import { Styles } from "../../styles/theme";
/**
* Creates lighting objects for an element/subscene
*/
export default function createLights({ lighting: { pointLightIntensity }, }: Styles): {
lightsGroup: Group<import("three").Object3DEventMap>;
shaderLight: PointLight;
};