Skip to content

Commit 1c531dd

Browse files
Add comment about installing the development version to README.md
1 parent 5213b8e commit 1c531dd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This can be used in Mathics front ends like [Mathics-Django](https://pypi.org/pr
66

77
## Example:
88
```js
9-
import drawGraphics3D from './mathics-threejs-backend/src/index.js';
9+
import drawGraphics3D from '@mathicsorg/mathics-threejs-backend';
1010

1111
drawGraphics3D(
1212
document.getElementById('main'),
@@ -28,7 +28,7 @@ drawGraphics3D(
2828
],
2929
viewpoint: [2.6, -4.8, 4.0]
3030
}
31-
)
31+
);
3232
```
3333

3434
Lots of other examples can be found in the [examples](https://github.com/Mathics3/mathics-threejs-backend/tree/master/examples) directory of this repository.
@@ -60,5 +60,7 @@ Hit CTRL-C to stop the server
6060

6161
Finally, look at a file that you want to see rendered, e.g. http://127.0.0.1:8080/examples/test/cone.html
6262

63+
For installing the development version from GitHub, see the [documentation](https://mathics3.github.io/mathics-threejs-backend/documentation).
64+
6365
## Documentation and examples
6466
You can see the documentation and more live examples [here](https://mathics3.github.io/mathics-threejs-backend).

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@mathicsorg/mathics-threejs-backend",
33
"version": "1.1.1",
4-
"threejs_revision": 137,
4+
"threejs_revision": 138,
55
"description": "Mathics 3D Graphics backend using three.js",
66
"source": "src/index.js",
77
"main": "docs/build.js",

0 commit comments

Comments
 (0)