Phoenix event display

A highly modular and API driven experiment independent event display that uses three.js for processing and presenting detector geometry and event data.
To use in your application. First, install the npm package.
npm install phoenix-event-display
To create a simple event display.
import { EventDisplay, Configuration } from 'phoenix-event-display';
const eventDisplay = new EventDisplay();
const configuration = new Configuration('wrapper_element_id');
eventDisplay.init(configuration);
fetch('path/to/event-data.json')
.then((res) => res.json())
.then((res) => {
eventDisplay.parsePhoenixEvents(res);
});
eventDisplay.loadOBJGeometry('path/to/geometry.obj', 'Detector OBJ', 0x8c8c8c );
Usage examples