UNPKG

@qctrl/visualizer

Version:

The Q-CTRL Visualizer is a package for displaying animated 3d Bloch sphere visualizations.

12 lines (11 loc) 354 B
import { Vector3Tuple } from "three"; import { LABEL_DEFAULTS } from "../constants"; export type RecursivePartial<T> = { [P in keyof T]?: RecursivePartial<T[P]>; }; export type Labels = Partial<typeof LABEL_DEFAULTS>; export interface CustomLabel { element?: HTMLDivElement | SVGSVGElement | null; position: Vector3Tuple; name: string; }