16 lines
486 B
Markdown
16 lines
486 B
Markdown
|
|
### GDML Example
|
|
|
|
Visualization example for geometry defined as GDML file.
|
|
|
|
##### Building project
|
|
|
|
To build the app, run `demo/gdml/Tasks/distribution/jsBrowserDistribution` Gradle task, then open
|
|
`demo/gdml/build/distribuions/gdml-js-0.1.3-dev/index.html` file in your browser, and
|
|
drag-and-drop GDML file to the window to see visualization. For an example file, you can use
|
|
`demo/gdml/src/jsMain/resources/cubes.gdml`.
|
|
|
|
##### Example view:
|
|
|
|
![](../../doc/resources/gdml-demo.png)
|