diff --git a/README.md b/README.md index ff2820f1..aab72d1b 100644 --- a/README.md +++ b/README.md @@ -70,4 +70,6 @@ To run full-stack app (both server and browser front-end), run ##### gdml -Visualization example for geometry defined as GDML file. +Visualization example for geometry defined as GDML file. Once you open Web application, +drag-and-drop GDML file to the window to see visualization. For example file, use +`demo\gdml\src\jsMain\resources\cubes.gdml`. diff --git a/demo/gdml/src/jsMain/resources/cubes.gdml b/demo/gdml/src/jsMain/resources/cubes.gdml new file mode 100644 index 00000000..4d66c389 --- /dev/null +++ b/demo/gdml/src/jsMain/resources/cubes.gdml @@ -0,0 +1,254 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/demo/gdml/src/jsMain/web/index.html b/demo/gdml/src/jsMain/web/index.html index 3b2a99b2..bad59418 100644 --- a/demo/gdml/src/jsMain/web/index.html +++ b/demo/gdml/src/jsMain/web/index.html @@ -12,10 +12,10 @@
- Загрузить данные + title="To load data in text format, drag-and-drop file here"> + Load data
- (перетащить файл сюда) + (drag file here)

GDML demo