@qctrl/visualizer
Version:
The Q-CTRL Visualizer is a package for displaying animated 3d Bloch sphere visualizations.
18 lines (17 loc) • 625 B
TypeScript
import { Vector3 } from "three";
import { LineMaterial, Line } from "../../helpers/scene/Line";
import { Styles } from "../../styles/theme";
interface CreateDecoherenceLineProps {
currentVector: Vector3;
currentNonErrorStateVector: Vector3;
style: Styles;
divWidthHeight: {
width: number;
height: number;
};
}
declare const _default: ({ currentVector, currentNonErrorStateVector, style: { decoherence: { color, lineWidth, dashSize, gapSize }, }, divWidthHeight: { width, height }, }: CreateDecoherenceLineProps) => {
line: Line;
material: LineMaterial;
};
export default _default;