2020-05-07 16:52:57 +03:00
|
|
|
|
|
|
|
### 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:
|
|
|
|
|
2021-01-26 21:05:56 +03:00
|
|
|
![](../../docs/resources/gdml-demo.png)
|