forked from HSF/phoenix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(app): Get GeometryDemo working again
Use the new buildGeometryFromParameters function in EventDisplay Added some WIP instructions (which don't currently work).
- Loading branch information
1 parent
04dc545
commit 8f91dbd
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
packages/phoenix-ng/projects/phoenix-app/src/app/sections/geometry/geometry.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
<app-nav></app-nav> | ||
<app-experiment-info experimentTagline="Geometry Demo"> | ||
<div> | ||
<p> | ||
Try opening the console and typing: | ||
<!-- | ||
{{ var parameters = { ModuleName: "Module 3", Xdim: 10., Ydim: 1., Zdim: 45, NumPhiEl: 64, NumZEl: 10, Radius: 105, MinZ: -250, MaxZ: 250, TiltAngle: 0.3, PhiOffset: 0.0, Colour: 0xffff00, EdgeColour: 0x449458 };}} | ||
{{window.EventDisplay.buildGeometryFromParameters(parameters)}} | ||
--> | ||
</p> | ||
</div> | ||
</app-experiment-info> | ||
<div id="eventDisplay"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters