Skip to content

Commit 33dadda

Browse files
Improve documentation example
1 parent a57b5e6 commit 33dadda

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/documentation.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,10 @@ The main function of mathics-threejs-backend is `drawGraphics3d`, takes the foll
9191
],
9292
viewpoint: [2, -4, 4],
9393
protocol: '1.1'
94-
},
95-
600, // maxSize
96-
0.75 // innerWidthMultiplier
94+
}
9795
);
9896
```
99-
<div style='position: relative;' class='center' id='graphics-container-1'></div>
97+
<div style='width: 75vw; height: 75vw; max-width: 500px; max-height: 500px;' class='center' id='graphics-container-1'></div>
10098
<script>
10199
drawGraphics3d(
102100
document.getElementById('graphics-container-1'),

0 commit comments

Comments
 (0)