You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`data` (type: object) — object with the following properties:
33
33
-`autoRescale` (type: bool) — whether the plot should be rescaled after spin. Default: `true`
34
34
-`axes` (type: object) — default: `{}`, object with the following properties:
@@ -46,8 +46,6 @@ The main function of mathics-threejs-backend is `drawGraphics3d`, takes the foll
46
46
-`lighting` (type: [element[]](/mathics-threejs-backend/types/element)) — array of lights, default: `[]`
47
47
-`viewpoint` (type: number[3]) — the normalized camera coordinate (normalized means that the coordinate is going to be scaled, e.g. `[1, 1, 1]` is the upper back right corner of the bounding box independently from its size). Default: `[1.3, -2.4, 2]`
48
48
-`protocol` (type: string) — protocol version (current is `1.2`), if it isn't compatible a warning is shown instead of the graphics. Only availiable in production version
49
-
-`maxSize` (type: number) — default: `400`
50
-
-`innerWidthMultiplier` (type: number) — the multiplier of the window inner width, the effective width is `min(maxSize, innerWidthMultiplier * window.innerWidth)`, default: `0.65`
51
49
52
50
## Examples
53
51
-```js
@@ -160,9 +158,3 @@ The main function of mathics-threejs-backend is `drawGraphics3d`, takes the foll
160
158
{ viewpoint: [2, -4, 4] }
161
159
);
162
160
</script>
163
-
164
-
## Notes
165
-
- Currently the axes labels are drawn using HTML elements with
166
-
`position: absolute` so the graphics container must have
167
-
`position: relative` if you want to draw the axes labels and the
0 commit comments