@chartts/gl 0.1.3 → 0.1.5
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.
- package/README.md +55 -0
- package/dist/bar3d.cjs +4 -4
- package/dist/bar3d.d.cts +2 -2
- package/dist/bar3d.d.ts +2 -2
- package/dist/bar3d.js +1 -1
- package/dist/{chunk-M24XMYGG.js → chunk-AGG2KSBO.js} +418 -83
- package/dist/chunk-AGG2KSBO.js.map +1 -0
- package/dist/{chunk-Q4JAQOV3.cjs → chunk-OTQKQDB6.cjs} +419 -82
- package/dist/chunk-OTQKQDB6.cjs.map +1 -0
- package/dist/{factory-Cp9Kr7aa.d.cts → factory-jQSzXhK4.d.cts} +4 -1
- package/dist/{factory-Cp9Kr7aa.d.ts → factory-jQSzXhK4.d.ts} +4 -1
- package/dist/flow-gl.cjs +4 -4
- package/dist/flow-gl.d.cts +2 -2
- package/dist/flow-gl.d.ts +2 -2
- package/dist/flow-gl.js +1 -1
- package/dist/globe3d.cjs +4 -4
- package/dist/globe3d.d.cts +4 -3
- package/dist/globe3d.d.ts +4 -3
- package/dist/globe3d.js +1 -1
- package/dist/graph-gl.cjs +4 -4
- package/dist/graph-gl.d.cts +2 -2
- package/dist/graph-gl.d.ts +2 -2
- package/dist/graph-gl.js +1 -1
- package/dist/index.cjs +60 -52
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/line3d.cjs +4 -4
- package/dist/line3d.d.cts +2 -2
- package/dist/line3d.d.ts +2 -2
- package/dist/line3d.js +1 -1
- package/dist/lines-gl.cjs +4 -4
- package/dist/lines-gl.d.cts +2 -2
- package/dist/lines-gl.d.ts +2 -2
- package/dist/lines-gl.js +1 -1
- package/dist/lines3d.cjs +4 -4
- package/dist/lines3d.d.cts +2 -2
- package/dist/lines3d.d.ts +2 -2
- package/dist/lines3d.js +1 -1
- package/dist/map3d.cjs +4 -4
- package/dist/map3d.d.cts +2 -2
- package/dist/map3d.d.ts +2 -2
- package/dist/map3d.js +1 -1
- package/dist/scatter-gl.cjs +4 -4
- package/dist/scatter-gl.d.cts +2 -2
- package/dist/scatter-gl.d.ts +2 -2
- package/dist/scatter-gl.js +1 -1
- package/dist/scatter3d.cjs +4 -4
- package/dist/scatter3d.d.cts +2 -2
- package/dist/scatter3d.d.ts +2 -2
- package/dist/scatter3d.js +1 -1
- package/dist/surface3d.cjs +4 -4
- package/dist/surface3d.d.cts +2 -2
- package/dist/surface3d.d.ts +2 -2
- package/dist/surface3d.js +1 -1
- package/dist/torus3d-NpDo5Nb5.d.ts +15 -0
- package/dist/torus3d-fgZpxxQZ.d.cts +15 -0
- package/dist/torus3d.cjs +20 -0
- package/dist/torus3d.cjs.map +1 -0
- package/dist/torus3d.d.cts +2 -0
- package/dist/torus3d.d.ts +2 -0
- package/dist/torus3d.js +3 -0
- package/dist/torus3d.js.map +1 -0
- package/package.json +10 -4
- package/dist/chunk-M24XMYGG.js.map +0 -1
- package/dist/chunk-Q4JAQOV3.cjs.map +0 -1
package/dist/lines3d.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOTQKQDB6_cjs = require('./chunk-OTQKQDB6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Lines3D", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOTQKQDB6_cjs.Lines3D; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createGLChart", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOTQKQDB6_cjs.createGLChart; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createLines3DPlugin", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkOTQKQDB6_cjs.createLines3DPlugin; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=lines3d.cjs.map
|
|
20
20
|
//# sourceMappingURL=lines3d.cjs.map
|
package/dist/lines3d.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, o as Lines3D, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.cjs';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, o as Lines3D, x as createGLChart } from './factory-jQSzXhK4.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Lines3D — multiple 3D polylines with thick line shader.
|
package/dist/lines3d.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, o as Lines3D, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.js';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, o as Lines3D, x as createGLChart } from './factory-jQSzXhK4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Lines3D — multiple 3D polylines with thick line shader.
|
package/dist/lines3d.js
CHANGED
package/dist/map3d.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOTQKQDB6_cjs = require('./chunk-OTQKQDB6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Map3D", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOTQKQDB6_cjs.Map3D; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createGLChart", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOTQKQDB6_cjs.createGLChart; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createMap3DPlugin", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkOTQKQDB6_cjs.createMap3DPlugin; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=map3d.cjs.map
|
|
20
20
|
//# sourceMappingURL=map3d.cjs.map
|
package/dist/map3d.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, M as Map3D, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.cjs';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, M as Map3D, x as createGLChart } from './factory-jQSzXhK4.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Map3D — extruded regions with choropleth coloring.
|
package/dist/map3d.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, M as Map3D, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.js';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, M as Map3D, x as createGLChart } from './factory-jQSzXhK4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Map3D — extruded regions with choropleth coloring.
|
package/dist/map3d.js
CHANGED
package/dist/scatter-gl.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOTQKQDB6_cjs = require('./chunk-OTQKQDB6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "ScatterGL", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOTQKQDB6_cjs.ScatterGL; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createGLChart", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOTQKQDB6_cjs.createGLChart; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createScatterGLPlugin", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkOTQKQDB6_cjs.createScatterGLPlugin; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=scatter-gl.cjs.map
|
|
20
20
|
//# sourceMappingURL=scatter-gl.cjs.map
|
package/dist/scatter-gl.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, s as ScatterGL, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.cjs';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, s as ScatterGL, x as createGLChart } from './factory-jQSzXhK4.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* ScatterGL — GPU-accelerated 2D scatter with axes, grid, legend, and density glow.
|
package/dist/scatter-gl.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, s as ScatterGL, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.js';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, s as ScatterGL, x as createGLChart } from './factory-jQSzXhK4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* ScatterGL — GPU-accelerated 2D scatter with axes, grid, legend, and density glow.
|
package/dist/scatter-gl.js
CHANGED
package/dist/scatter3d.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOTQKQDB6_cjs = require('./chunk-OTQKQDB6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Scatter3D", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOTQKQDB6_cjs.Scatter3D; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createGLChart", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOTQKQDB6_cjs.createGLChart; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createScatter3DPlugin", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkOTQKQDB6_cjs.createScatter3DPlugin; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=scatter3d.cjs.map
|
|
20
20
|
//# sourceMappingURL=scatter3d.cjs.map
|
package/dist/scatter3d.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, S as Scatter3D, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.cjs';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, S as Scatter3D, x as createGLChart } from './factory-jQSzXhK4.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Scatter3D — GL_POINTS in 3D space with SDF circles.
|
package/dist/scatter3d.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, S as Scatter3D, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.js';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, S as Scatter3D, x as createGLChart } from './factory-jQSzXhK4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Scatter3D — GL_POINTS in 3D space with SDF circles.
|
package/dist/scatter3d.js
CHANGED
package/dist/surface3d.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOTQKQDB6_cjs = require('./chunk-OTQKQDB6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Surface3D", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkOTQKQDB6_cjs.Surface3D; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "createGLChart", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOTQKQDB6_cjs.createGLChart; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSurface3DPlugin", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkOTQKQDB6_cjs.createSurface3DPlugin; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=surface3d.cjs.map
|
|
20
20
|
//# sourceMappingURL=surface3d.cjs.map
|
package/dist/surface3d.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, u as Surface3D, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.cjs';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, u as Surface3D, x as createGLChart } from './factory-jQSzXhK4.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Surface3D — grid heightmap mesh with computed normals, wireframe option.
|
package/dist/surface3d.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GLChartTypePlugin } from './factory-
|
|
2
|
-
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, u as Surface3D, x as createGLChart } from './factory-
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.js';
|
|
2
|
+
export { b as GLChartData, c as GLChartInstance, d as GLChartOptions, f as GLDataPoint, u as Surface3D, x as createGLChart } from './factory-jQSzXhK4.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Surface3D — grid heightmap mesh with computed normals, wireframe option.
|
package/dist/surface3d.js
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Torus3D — stacked cylindrical rings revolved around Y axis.
|
|
5
|
+
* Each data value = one ring with radius proportional to value.
|
|
6
|
+
* Blocky stepped profile with smooth rounded transitions between rings.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
interface Torus3DOptions {
|
|
10
|
+
/** Scale for ring radius. Default 1. */
|
|
11
|
+
intensity?: number;
|
|
12
|
+
}
|
|
13
|
+
declare function createTorus3DPlugin(): GLChartTypePlugin;
|
|
14
|
+
|
|
15
|
+
export { type Torus3DOptions as T, createTorus3DPlugin as c };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { e as GLChartTypePlugin } from './factory-jQSzXhK4.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Torus3D — stacked cylindrical rings revolved around Y axis.
|
|
5
|
+
* Each data value = one ring with radius proportional to value.
|
|
6
|
+
* Blocky stepped profile with smooth rounded transitions between rings.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
interface Torus3DOptions {
|
|
10
|
+
/** Scale for ring radius. Default 1. */
|
|
11
|
+
intensity?: number;
|
|
12
|
+
}
|
|
13
|
+
declare function createTorus3DPlugin(): GLChartTypePlugin;
|
|
14
|
+
|
|
15
|
+
export { type Torus3DOptions as T, createTorus3DPlugin as c };
|
package/dist/torus3d.cjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkOTQKQDB6_cjs = require('./chunk-OTQKQDB6.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "Torus3D", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkOTQKQDB6_cjs.Torus3D; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "createGLChart", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkOTQKQDB6_cjs.createGLChart; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "createTorus3DPlugin", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkOTQKQDB6_cjs.createTorus3DPlugin; }
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=torus3d.cjs.map
|
|
20
|
+
//# sourceMappingURL=torus3d.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"torus3d.cjs"}
|
package/dist/torus3d.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"torus3d.js"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chartts/gl",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "WebGL 3D
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"description": "WebGL chart types for Chartts. 3D bar, scatter, surface, globe, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -66,14 +66,20 @@
|
|
|
66
66
|
"types": "./dist/graph-gl.d.ts",
|
|
67
67
|
"import": "./dist/graph-gl.js",
|
|
68
68
|
"require": "./dist/graph-gl.cjs"
|
|
69
|
+
},
|
|
70
|
+
"./torus3d": {
|
|
71
|
+
"types": "./dist/torus3d.d.ts",
|
|
72
|
+
"import": "./dist/torus3d.js",
|
|
73
|
+
"require": "./dist/torus3d.cjs"
|
|
69
74
|
}
|
|
70
75
|
},
|
|
71
76
|
"files": [
|
|
72
|
-
"dist"
|
|
77
|
+
"dist",
|
|
78
|
+
"README.md"
|
|
73
79
|
],
|
|
74
80
|
"sideEffects": false,
|
|
75
81
|
"peerDependencies": {
|
|
76
|
-
"@chartts/core": "0.1.
|
|
82
|
+
"@chartts/core": "0.1.5"
|
|
77
83
|
},
|
|
78
84
|
"devDependencies": {
|
|
79
85
|
"tsup": "^8.0.0",
|