@chartts/gl 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/LICENSE +21 -0
  2. package/dist/bar3d.cjs +20 -0
  3. package/dist/bar3d.cjs.map +1 -0
  4. package/dist/bar3d.d.cts +10 -0
  5. package/dist/bar3d.d.ts +10 -0
  6. package/dist/bar3d.js +3 -0
  7. package/dist/bar3d.js.map +1 -0
  8. package/dist/chunk-M24XMYGG.js +3464 -0
  9. package/dist/chunk-M24XMYGG.js.map +1 -0
  10. package/dist/chunk-Q4JAQOV3.cjs +3516 -0
  11. package/dist/chunk-Q4JAQOV3.cjs.map +1 -0
  12. package/dist/factory-Cp9Kr7aa.d.cts +291 -0
  13. package/dist/factory-Cp9Kr7aa.d.ts +291 -0
  14. package/dist/flow-gl.cjs +20 -0
  15. package/dist/flow-gl.cjs.map +1 -0
  16. package/dist/flow-gl.d.cts +20 -0
  17. package/dist/flow-gl.d.ts +20 -0
  18. package/dist/flow-gl.js +3 -0
  19. package/dist/flow-gl.js.map +1 -0
  20. package/dist/globe3d.cjs +20 -0
  21. package/dist/globe3d.cjs.map +1 -0
  22. package/dist/globe3d.d.cts +10 -0
  23. package/dist/globe3d.d.ts +10 -0
  24. package/dist/globe3d.js +3 -0
  25. package/dist/globe3d.js.map +1 -0
  26. package/dist/graph-gl.cjs +20 -0
  27. package/dist/graph-gl.cjs.map +1 -0
  28. package/dist/graph-gl.d.cts +10 -0
  29. package/dist/graph-gl.d.ts +10 -0
  30. package/dist/graph-gl.js +3 -0
  31. package/dist/graph-gl.js.map +1 -0
  32. package/dist/index.cjs +212 -0
  33. package/dist/index.cjs.map +1 -0
  34. package/dist/index.d.cts +60 -0
  35. package/dist/index.d.ts +60 -0
  36. package/dist/index.js +3 -0
  37. package/dist/index.js.map +1 -0
  38. package/dist/line3d.cjs +20 -0
  39. package/dist/line3d.cjs.map +1 -0
  40. package/dist/line3d.d.cts +10 -0
  41. package/dist/line3d.d.ts +10 -0
  42. package/dist/line3d.js +3 -0
  43. package/dist/line3d.js.map +1 -0
  44. package/dist/lines-gl.cjs +20 -0
  45. package/dist/lines-gl.cjs.map +1 -0
  46. package/dist/lines-gl.d.cts +10 -0
  47. package/dist/lines-gl.d.ts +10 -0
  48. package/dist/lines-gl.js +3 -0
  49. package/dist/lines-gl.js.map +1 -0
  50. package/dist/lines3d.cjs +20 -0
  51. package/dist/lines3d.cjs.map +1 -0
  52. package/dist/lines3d.d.cts +10 -0
  53. package/dist/lines3d.d.ts +10 -0
  54. package/dist/lines3d.js +3 -0
  55. package/dist/lines3d.js.map +1 -0
  56. package/dist/map3d.cjs +20 -0
  57. package/dist/map3d.cjs.map +1 -0
  58. package/dist/map3d.d.cts +10 -0
  59. package/dist/map3d.d.ts +10 -0
  60. package/dist/map3d.js +3 -0
  61. package/dist/map3d.js.map +1 -0
  62. package/dist/scatter-gl.cjs +20 -0
  63. package/dist/scatter-gl.cjs.map +1 -0
  64. package/dist/scatter-gl.d.cts +11 -0
  65. package/dist/scatter-gl.d.ts +11 -0
  66. package/dist/scatter-gl.js +3 -0
  67. package/dist/scatter-gl.js.map +1 -0
  68. package/dist/scatter3d.cjs +20 -0
  69. package/dist/scatter3d.cjs.map +1 -0
  70. package/dist/scatter3d.d.cts +10 -0
  71. package/dist/scatter3d.d.ts +10 -0
  72. package/dist/scatter3d.js +3 -0
  73. package/dist/scatter3d.js.map +1 -0
  74. package/dist/surface3d.cjs +20 -0
  75. package/dist/surface3d.cjs.map +1 -0
  76. package/dist/surface3d.d.cts +10 -0
  77. package/dist/surface3d.d.ts +10 -0
  78. package/dist/surface3d.js +3 -0
  79. package/dist/surface3d.js.map +1 -0
  80. package/package.json +92 -0
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, k as Globe3D, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * Globe3D — UV sphere with lat/lng data mapping.
6
+ */
7
+
8
+ declare function createGlobe3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createGlobe3DPlugin };
@@ -0,0 +1,3 @@
1
+ export { Globe3D, createGLChart, createGlobe3DPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=globe3d.js.map
3
+ //# sourceMappingURL=globe3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"globe3d.js"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "GraphGL", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.GraphGL; }
10
+ });
11
+ Object.defineProperty(exports, "createGLChart", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
14
+ });
15
+ Object.defineProperty(exports, "createGraphGLPlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.createGraphGLPlugin; }
18
+ });
19
+ //# sourceMappingURL=graph-gl.cjs.map
20
+ //# sourceMappingURL=graph-gl.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"graph-gl.cjs"}
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.cjs';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, l as GraphGL, x as createGLChart } from './factory-Cp9Kr7aa.cjs';
3
+
4
+ /**
5
+ * GraphGL — force-directed graph layout with Barnes-Hut optimization, GL rendering.
6
+ */
7
+
8
+ declare function createGraphGLPlugin(): GLChartTypePlugin;
9
+
10
+ export { createGraphGLPlugin };
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, l as GraphGL, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * GraphGL — force-directed graph layout with Barnes-Hut optimization, GL rendering.
6
+ */
7
+
8
+ declare function createGraphGLPlugin(): GLChartTypePlugin;
9
+
10
+ export { createGraphGLPlugin };
@@ -0,0 +1,3 @@
1
+ export { GraphGL, createGLChart, createGraphGLPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=graph-gl.js.map
3
+ //# sourceMappingURL=graph-gl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"graph-gl.js"}
package/dist/index.cjs ADDED
@@ -0,0 +1,212 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Bar3D", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.Bar3D; }
10
+ });
11
+ Object.defineProperty(exports, "DEFAULT_GL_THEME", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.DEFAULT_GL_THEME; }
14
+ });
15
+ Object.defineProperty(exports, "FlowGL", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.FlowGL; }
18
+ });
19
+ Object.defineProperty(exports, "Globe3D", {
20
+ enumerable: true,
21
+ get: function () { return chunkQ4JAQOV3_cjs.Globe3D; }
22
+ });
23
+ Object.defineProperty(exports, "GraphGL", {
24
+ enumerable: true,
25
+ get: function () { return chunkQ4JAQOV3_cjs.GraphGL; }
26
+ });
27
+ Object.defineProperty(exports, "LIGHT_GL_THEME", {
28
+ enumerable: true,
29
+ get: function () { return chunkQ4JAQOV3_cjs.LIGHT_GL_THEME; }
30
+ });
31
+ Object.defineProperty(exports, "Line3D", {
32
+ enumerable: true,
33
+ get: function () { return chunkQ4JAQOV3_cjs.Line3D; }
34
+ });
35
+ Object.defineProperty(exports, "Lines3D", {
36
+ enumerable: true,
37
+ get: function () { return chunkQ4JAQOV3_cjs.Lines3D; }
38
+ });
39
+ Object.defineProperty(exports, "LinesGL", {
40
+ enumerable: true,
41
+ get: function () { return chunkQ4JAQOV3_cjs.LinesGL; }
42
+ });
43
+ Object.defineProperty(exports, "Map3D", {
44
+ enumerable: true,
45
+ get: function () { return chunkQ4JAQOV3_cjs.Map3D; }
46
+ });
47
+ Object.defineProperty(exports, "Scatter3D", {
48
+ enumerable: true,
49
+ get: function () { return chunkQ4JAQOV3_cjs.Scatter3D; }
50
+ });
51
+ Object.defineProperty(exports, "ScatterGL", {
52
+ enumerable: true,
53
+ get: function () { return chunkQ4JAQOV3_cjs.ScatterGL; }
54
+ });
55
+ Object.defineProperty(exports, "Surface3D", {
56
+ enumerable: true,
57
+ get: function () { return chunkQ4JAQOV3_cjs.Surface3D; }
58
+ });
59
+ Object.defineProperty(exports, "applyVertexLayout", {
60
+ enumerable: true,
61
+ get: function () { return chunkQ4JAQOV3_cjs.applyVertexLayout; }
62
+ });
63
+ Object.defineProperty(exports, "compileShader", {
64
+ enumerable: true,
65
+ get: function () { return chunkQ4JAQOV3_cjs.compileShader; }
66
+ });
67
+ Object.defineProperty(exports, "createBar3DPlugin", {
68
+ enumerable: true,
69
+ get: function () { return chunkQ4JAQOV3_cjs.createBar3DPlugin; }
70
+ });
71
+ Object.defineProperty(exports, "createCamera", {
72
+ enumerable: true,
73
+ get: function () { return chunkQ4JAQOV3_cjs.createCamera; }
74
+ });
75
+ Object.defineProperty(exports, "createFlowGLPlugin", {
76
+ enumerable: true,
77
+ get: function () { return chunkQ4JAQOV3_cjs.createFlowGLPlugin; }
78
+ });
79
+ Object.defineProperty(exports, "createGLChart", {
80
+ enumerable: true,
81
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
82
+ });
83
+ Object.defineProperty(exports, "createGLRenderer", {
84
+ enumerable: true,
85
+ get: function () { return chunkQ4JAQOV3_cjs.createGLRenderer; }
86
+ });
87
+ Object.defineProperty(exports, "createGlobe3DPlugin", {
88
+ enumerable: true,
89
+ get: function () { return chunkQ4JAQOV3_cjs.createGlobe3DPlugin; }
90
+ });
91
+ Object.defineProperty(exports, "createGraphGLPlugin", {
92
+ enumerable: true,
93
+ get: function () { return chunkQ4JAQOV3_cjs.createGraphGLPlugin; }
94
+ });
95
+ Object.defineProperty(exports, "createGrid3D", {
96
+ enumerable: true,
97
+ get: function () { return chunkQ4JAQOV3_cjs.createGrid3D; }
98
+ });
99
+ Object.defineProperty(exports, "createIndexBuffer", {
100
+ enumerable: true,
101
+ get: function () { return chunkQ4JAQOV3_cjs.createIndexBuffer; }
102
+ });
103
+ Object.defineProperty(exports, "createLine3DPlugin", {
104
+ enumerable: true,
105
+ get: function () { return chunkQ4JAQOV3_cjs.createLine3DPlugin; }
106
+ });
107
+ Object.defineProperty(exports, "createLines3DPlugin", {
108
+ enumerable: true,
109
+ get: function () { return chunkQ4JAQOV3_cjs.createLines3DPlugin; }
110
+ });
111
+ Object.defineProperty(exports, "createLinesGLPlugin", {
112
+ enumerable: true,
113
+ get: function () { return chunkQ4JAQOV3_cjs.createLinesGLPlugin; }
114
+ });
115
+ Object.defineProperty(exports, "createMap3DPlugin", {
116
+ enumerable: true,
117
+ get: function () { return chunkQ4JAQOV3_cjs.createMap3DPlugin; }
118
+ });
119
+ Object.defineProperty(exports, "createOrbitControls", {
120
+ enumerable: true,
121
+ get: function () { return chunkQ4JAQOV3_cjs.createOrbitControls; }
122
+ });
123
+ Object.defineProperty(exports, "createPickingSystem", {
124
+ enumerable: true,
125
+ get: function () { return chunkQ4JAQOV3_cjs.createPickingSystem; }
126
+ });
127
+ Object.defineProperty(exports, "createScatter3DPlugin", {
128
+ enumerable: true,
129
+ get: function () { return chunkQ4JAQOV3_cjs.createScatter3DPlugin; }
130
+ });
131
+ Object.defineProperty(exports, "createScatterGLPlugin", {
132
+ enumerable: true,
133
+ get: function () { return chunkQ4JAQOV3_cjs.createScatterGLPlugin; }
134
+ });
135
+ Object.defineProperty(exports, "createShaderProgram", {
136
+ enumerable: true,
137
+ get: function () { return chunkQ4JAQOV3_cjs.createShaderProgram; }
138
+ });
139
+ Object.defineProperty(exports, "createSurface3DPlugin", {
140
+ enumerable: true,
141
+ get: function () { return chunkQ4JAQOV3_cjs.createSurface3DPlugin; }
142
+ });
143
+ Object.defineProperty(exports, "createVertexBuffer", {
144
+ enumerable: true,
145
+ get: function () { return chunkQ4JAQOV3_cjs.createVertexBuffer; }
146
+ });
147
+ Object.defineProperty(exports, "createVertexLayout", {
148
+ enumerable: true,
149
+ get: function () { return chunkQ4JAQOV3_cjs.createVertexLayout; }
150
+ });
151
+ Object.defineProperty(exports, "defaultLightConfig", {
152
+ enumerable: true,
153
+ get: function () { return chunkQ4JAQOV3_cjs.defaultLightConfig; }
154
+ });
155
+ Object.defineProperty(exports, "hexToRGB", {
156
+ enumerable: true,
157
+ get: function () { return chunkQ4JAQOV3_cjs.hexToRGB; }
158
+ });
159
+ Object.defineProperty(exports, "mat4", {
160
+ enumerable: true,
161
+ get: function () { return chunkQ4JAQOV3_cjs.mat4; }
162
+ });
163
+ Object.defineProperty(exports, "mat4Identity", {
164
+ enumerable: true,
165
+ get: function () { return chunkQ4JAQOV3_cjs.mat4Identity; }
166
+ });
167
+ Object.defineProperty(exports, "mat4Invert", {
168
+ enumerable: true,
169
+ get: function () { return chunkQ4JAQOV3_cjs.mat4Invert; }
170
+ });
171
+ Object.defineProperty(exports, "mat4LookAt", {
172
+ enumerable: true,
173
+ get: function () { return chunkQ4JAQOV3_cjs.mat4LookAt; }
174
+ });
175
+ Object.defineProperty(exports, "mat4Multiply", {
176
+ enumerable: true,
177
+ get: function () { return chunkQ4JAQOV3_cjs.mat4Multiply; }
178
+ });
179
+ Object.defineProperty(exports, "mat4Perspective", {
180
+ enumerable: true,
181
+ get: function () { return chunkQ4JAQOV3_cjs.mat4Perspective; }
182
+ });
183
+ Object.defineProperty(exports, "projectToScreen", {
184
+ enumerable: true,
185
+ get: function () { return chunkQ4JAQOV3_cjs.projectToScreen; }
186
+ });
187
+ Object.defineProperty(exports, "resolveTheme", {
188
+ enumerable: true,
189
+ get: function () { return chunkQ4JAQOV3_cjs.resolveTheme; }
190
+ });
191
+ Object.defineProperty(exports, "setLightUniforms", {
192
+ enumerable: true,
193
+ get: function () { return chunkQ4JAQOV3_cjs.setLightUniforms; }
194
+ });
195
+ Object.defineProperty(exports, "toRad", {
196
+ enumerable: true,
197
+ get: function () { return chunkQ4JAQOV3_cjs.toRad; }
198
+ });
199
+ Object.defineProperty(exports, "updateCamera", {
200
+ enumerable: true,
201
+ get: function () { return chunkQ4JAQOV3_cjs.updateCamera; }
202
+ });
203
+ Object.defineProperty(exports, "updateOrbitControls", {
204
+ enumerable: true,
205
+ get: function () { return chunkQ4JAQOV3_cjs.updateOrbitControls; }
206
+ });
207
+ Object.defineProperty(exports, "vec3", {
208
+ enumerable: true,
209
+ get: function () { return chunkQ4JAQOV3_cjs.vec3; }
210
+ });
211
+ //# sourceMappingURL=index.cjs.map
212
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,60 @@
1
+ import { C as CameraState, G as GLRenderer } from './factory-Cp9Kr7aa.cjs';
2
+ export { B as Bar3D, a as CameraOptions, D as DEFAULT_GL_THEME, F as FlowGL, b as GLChartData, c as GLChartInstance, d as GLChartOptions, e as GLChartTypePlugin, f as GLDataPoint, g as GLRenderContext, h as GLSeries2D, i as GLSeries3D, j as GLTheme, k as Globe3D, l as GraphGL, L as LIGHT_GL_THEME, m as LightConfig, n as Line3D, o as Lines3D, p as LinesGL, M as Map3D, q as Mat4, O as OrbitConfig, r as OrbitState, P as PickingSystem, S as Scatter3D, s as ScatterGL, t as ShaderProgram, u as Surface3D, V as Vec3, v as compileShader, w as createCamera, x as createGLChart, y as createGLRenderer, z as createOrbitControls, A as createPickingSystem, E as createShaderProgram, H as defaultLightConfig, I as hexToRGB, J as mat4, K as mat4Identity, N as mat4Invert, Q as mat4LookAt, R as mat4Multiply, T as mat4Perspective, U as projectToScreen, W as resolveTheme, X as setLightUniforms, Y as toRad, Z as updateCamera, _ as updateOrbitControls, $ as vec3 } from './factory-Cp9Kr7aa.cjs';
3
+ export { createScatter3DPlugin } from './scatter3d.cjs';
4
+ export { createBar3DPlugin } from './bar3d.cjs';
5
+ export { createSurface3DPlugin } from './surface3d.cjs';
6
+ export { createGlobe3DPlugin } from './globe3d.cjs';
7
+ export { createMap3DPlugin } from './map3d.cjs';
8
+ export { createLines3DPlugin } from './lines3d.cjs';
9
+ export { createLine3DPlugin } from './line3d.cjs';
10
+ export { createScatterGLPlugin } from './scatter-gl.cjs';
11
+ export { createLinesGLPlugin } from './lines-gl.cjs';
12
+ export { createFlowGLPlugin } from './flow-gl.cjs';
13
+ export { createGraphGLPlugin } from './graph-gl.cjs';
14
+
15
+ /**
16
+ * WebGL buffer helpers — VBO, IBO, and vertex layout management.
17
+ */
18
+ interface GLBuffer {
19
+ buffer: WebGLBuffer;
20
+ count: number;
21
+ bind(): void;
22
+ update(data: Float32Array | Uint16Array | Uint32Array, usage?: number): void;
23
+ destroy(): void;
24
+ }
25
+ declare function createVertexBuffer(gl: WebGLRenderingContext, data: Float32Array, usage?: number): GLBuffer;
26
+ declare function createIndexBuffer(gl: WebGLRenderingContext, data: Uint16Array | Uint32Array, usage?: number): GLBuffer;
27
+ interface VertexAttribute {
28
+ location: number;
29
+ size: number;
30
+ offset: number;
31
+ }
32
+ interface VertexLayout {
33
+ stride: number;
34
+ attributes: VertexAttribute[];
35
+ }
36
+ declare function createVertexLayout(attribs: Array<{
37
+ location: number;
38
+ size: number;
39
+ }>): VertexLayout;
40
+ declare function applyVertexLayout(gl: WebGLRenderingContext, layout: VertexLayout): void;
41
+
42
+ /**
43
+ * 3D ground grid — wireframe grid plane for spatial reference in 3D charts.
44
+ */
45
+
46
+ interface Grid3D {
47
+ update(bounds: GridBounds): void;
48
+ render(camera: CameraState, opacity: number): void;
49
+ destroy(): void;
50
+ }
51
+ interface GridBounds {
52
+ minX: number;
53
+ maxX: number;
54
+ minZ: number;
55
+ maxZ: number;
56
+ y: number;
57
+ }
58
+ declare function createGrid3D(renderer: GLRenderer): Grid3D;
59
+
60
+ export { CameraState, type GLBuffer, GLRenderer, type Grid3D, type GridBounds, type VertexAttribute, type VertexLayout, applyVertexLayout, createGrid3D, createIndexBuffer, createVertexBuffer, createVertexLayout };
@@ -0,0 +1,60 @@
1
+ import { C as CameraState, G as GLRenderer } from './factory-Cp9Kr7aa.js';
2
+ export { B as Bar3D, a as CameraOptions, D as DEFAULT_GL_THEME, F as FlowGL, b as GLChartData, c as GLChartInstance, d as GLChartOptions, e as GLChartTypePlugin, f as GLDataPoint, g as GLRenderContext, h as GLSeries2D, i as GLSeries3D, j as GLTheme, k as Globe3D, l as GraphGL, L as LIGHT_GL_THEME, m as LightConfig, n as Line3D, o as Lines3D, p as LinesGL, M as Map3D, q as Mat4, O as OrbitConfig, r as OrbitState, P as PickingSystem, S as Scatter3D, s as ScatterGL, t as ShaderProgram, u as Surface3D, V as Vec3, v as compileShader, w as createCamera, x as createGLChart, y as createGLRenderer, z as createOrbitControls, A as createPickingSystem, E as createShaderProgram, H as defaultLightConfig, I as hexToRGB, J as mat4, K as mat4Identity, N as mat4Invert, Q as mat4LookAt, R as mat4Multiply, T as mat4Perspective, U as projectToScreen, W as resolveTheme, X as setLightUniforms, Y as toRad, Z as updateCamera, _ as updateOrbitControls, $ as vec3 } from './factory-Cp9Kr7aa.js';
3
+ export { createScatter3DPlugin } from './scatter3d.js';
4
+ export { createBar3DPlugin } from './bar3d.js';
5
+ export { createSurface3DPlugin } from './surface3d.js';
6
+ export { createGlobe3DPlugin } from './globe3d.js';
7
+ export { createMap3DPlugin } from './map3d.js';
8
+ export { createLines3DPlugin } from './lines3d.js';
9
+ export { createLine3DPlugin } from './line3d.js';
10
+ export { createScatterGLPlugin } from './scatter-gl.js';
11
+ export { createLinesGLPlugin } from './lines-gl.js';
12
+ export { createFlowGLPlugin } from './flow-gl.js';
13
+ export { createGraphGLPlugin } from './graph-gl.js';
14
+
15
+ /**
16
+ * WebGL buffer helpers — VBO, IBO, and vertex layout management.
17
+ */
18
+ interface GLBuffer {
19
+ buffer: WebGLBuffer;
20
+ count: number;
21
+ bind(): void;
22
+ update(data: Float32Array | Uint16Array | Uint32Array, usage?: number): void;
23
+ destroy(): void;
24
+ }
25
+ declare function createVertexBuffer(gl: WebGLRenderingContext, data: Float32Array, usage?: number): GLBuffer;
26
+ declare function createIndexBuffer(gl: WebGLRenderingContext, data: Uint16Array | Uint32Array, usage?: number): GLBuffer;
27
+ interface VertexAttribute {
28
+ location: number;
29
+ size: number;
30
+ offset: number;
31
+ }
32
+ interface VertexLayout {
33
+ stride: number;
34
+ attributes: VertexAttribute[];
35
+ }
36
+ declare function createVertexLayout(attribs: Array<{
37
+ location: number;
38
+ size: number;
39
+ }>): VertexLayout;
40
+ declare function applyVertexLayout(gl: WebGLRenderingContext, layout: VertexLayout): void;
41
+
42
+ /**
43
+ * 3D ground grid — wireframe grid plane for spatial reference in 3D charts.
44
+ */
45
+
46
+ interface Grid3D {
47
+ update(bounds: GridBounds): void;
48
+ render(camera: CameraState, opacity: number): void;
49
+ destroy(): void;
50
+ }
51
+ interface GridBounds {
52
+ minX: number;
53
+ maxX: number;
54
+ minZ: number;
55
+ maxZ: number;
56
+ y: number;
57
+ }
58
+ declare function createGrid3D(renderer: GLRenderer): Grid3D;
59
+
60
+ export { CameraState, type GLBuffer, GLRenderer, type Grid3D, type GridBounds, type VertexAttribute, type VertexLayout, applyVertexLayout, createGrid3D, createIndexBuffer, createVertexBuffer, createVertexLayout };
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export { Bar3D, DEFAULT_GL_THEME, FlowGL, Globe3D, GraphGL, LIGHT_GL_THEME, Line3D, Lines3D, LinesGL, Map3D, Scatter3D, ScatterGL, Surface3D, applyVertexLayout, compileShader, createBar3DPlugin, createCamera, createFlowGLPlugin, createGLChart, createGLRenderer, createGlobe3DPlugin, createGraphGLPlugin, createGrid3D, createIndexBuffer, createLine3DPlugin, createLines3DPlugin, createLinesGLPlugin, createMap3DPlugin, createOrbitControls, createPickingSystem, createScatter3DPlugin, createScatterGLPlugin, createShaderProgram, createSurface3DPlugin, createVertexBuffer, createVertexLayout, defaultLightConfig, hexToRGB, mat4, mat4Identity, mat4Invert, mat4LookAt, mat4Multiply, mat4Perspective, projectToScreen, resolveTheme, setLightUniforms, toRad, updateCamera, updateOrbitControls, vec3 } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Line3D", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.Line3D; }
10
+ });
11
+ Object.defineProperty(exports, "createGLChart", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
14
+ });
15
+ Object.defineProperty(exports, "createLine3DPlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.createLine3DPlugin; }
18
+ });
19
+ //# sourceMappingURL=line3d.cjs.map
20
+ //# sourceMappingURL=line3d.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"line3d.cjs"}
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.cjs';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, n as Line3D, x as createGLChart } from './factory-Cp9Kr7aa.cjs';
3
+
4
+ /**
5
+ * Line3D — single line as tube/ribbon via Frenet frames.
6
+ */
7
+
8
+ declare function createLine3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createLine3DPlugin };
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, n as Line3D, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * Line3D — single line as tube/ribbon via Frenet frames.
6
+ */
7
+
8
+ declare function createLine3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createLine3DPlugin };
package/dist/line3d.js ADDED
@@ -0,0 +1,3 @@
1
+ export { Line3D, createGLChart, createLine3DPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=line3d.js.map
3
+ //# sourceMappingURL=line3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"line3d.js"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "LinesGL", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.LinesGL; }
10
+ });
11
+ Object.defineProperty(exports, "createGLChart", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
14
+ });
15
+ Object.defineProperty(exports, "createLinesGLPlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.createLinesGLPlugin; }
18
+ });
19
+ //# sourceMappingURL=lines-gl.cjs.map
20
+ //# sourceMappingURL=lines-gl.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"lines-gl.cjs"}
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.cjs';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, p as LinesGL, x as createGLChart } from './factory-Cp9Kr7aa.cjs';
3
+
4
+ /**
5
+ * LinesGL — 2D thick line triangles for per-series polylines.
6
+ */
7
+
8
+ declare function createLinesGLPlugin(): GLChartTypePlugin;
9
+
10
+ export { createLinesGLPlugin };
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, p as LinesGL, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * LinesGL — 2D thick line triangles for per-series polylines.
6
+ */
7
+
8
+ declare function createLinesGLPlugin(): GLChartTypePlugin;
9
+
10
+ export { createLinesGLPlugin };
@@ -0,0 +1,3 @@
1
+ export { LinesGL, createGLChart, createLinesGLPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=lines-gl.js.map
3
+ //# sourceMappingURL=lines-gl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"lines-gl.js"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Lines3D", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.Lines3D; }
10
+ });
11
+ Object.defineProperty(exports, "createGLChart", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
14
+ });
15
+ Object.defineProperty(exports, "createLines3DPlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.createLines3DPlugin; }
18
+ });
19
+ //# sourceMappingURL=lines3d.cjs.map
20
+ //# sourceMappingURL=lines3d.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"lines3d.cjs"}
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.cjs';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, o as Lines3D, x as createGLChart } from './factory-Cp9Kr7aa.cjs';
3
+
4
+ /**
5
+ * Lines3D — multiple 3D polylines with thick line shader.
6
+ */
7
+
8
+ declare function createLines3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createLines3DPlugin };
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, o as Lines3D, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * Lines3D — multiple 3D polylines with thick line shader.
6
+ */
7
+
8
+ declare function createLines3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createLines3DPlugin };
@@ -0,0 +1,3 @@
1
+ export { Lines3D, createGLChart, createLines3DPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=lines3d.js.map
3
+ //# sourceMappingURL=lines3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"lines3d.js"}
package/dist/map3d.cjs ADDED
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var chunkQ4JAQOV3_cjs = require('./chunk-Q4JAQOV3.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "Map3D", {
8
+ enumerable: true,
9
+ get: function () { return chunkQ4JAQOV3_cjs.Map3D; }
10
+ });
11
+ Object.defineProperty(exports, "createGLChart", {
12
+ enumerable: true,
13
+ get: function () { return chunkQ4JAQOV3_cjs.createGLChart; }
14
+ });
15
+ Object.defineProperty(exports, "createMap3DPlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunkQ4JAQOV3_cjs.createMap3DPlugin; }
18
+ });
19
+ //# sourceMappingURL=map3d.cjs.map
20
+ //# sourceMappingURL=map3d.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"map3d.cjs"}
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.cjs';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, M as Map3D, x as createGLChart } from './factory-Cp9Kr7aa.cjs';
3
+
4
+ /**
5
+ * Map3D — extruded regions with choropleth coloring.
6
+ */
7
+
8
+ declare function createMap3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createMap3DPlugin };
@@ -0,0 +1,10 @@
1
+ import { e as GLChartTypePlugin } from './factory-Cp9Kr7aa.js';
2
+ export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, M as Map3D, x as createGLChart } from './factory-Cp9Kr7aa.js';
3
+
4
+ /**
5
+ * Map3D — extruded regions with choropleth coloring.
6
+ */
7
+
8
+ declare function createMap3DPlugin(): GLChartTypePlugin;
9
+
10
+ export { createMap3DPlugin };
package/dist/map3d.js ADDED
@@ -0,0 +1,3 @@
1
+ export { Map3D, createGLChart, createMap3DPlugin } from './chunk-M24XMYGG.js';
2
+ //# sourceMappingURL=map3d.js.map
3
+ //# sourceMappingURL=map3d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"map3d.js"}