PAnTHer
Particle Accelerator on THreeJS PAnTHer is a model of particle accelerators
A live demo is available at this page: https://luciozambon.altervista.org/app/panther.php
A short video introduction is available at this page: https://www.youtube.com/watch?v=53zyVab37rg
Installation
- Install Three.js from https://github.com/mrdoob/three.js/
- Install JQuery and JQuery UI from https://jquery.com/
- Install Hammer.js from https://hammerjs.github.io/
- Install svg-pan-zoom from https://github.com/bumbu/svg-pan-zoom
- Create a lattice file in JSON format according to the specifications: https://gitlab.elettra.eu/puma/client/web/-/raw/master/panther/panther_lattice.json for example: https://gitlab.elettra.eu/puma/client/web/-/raw/master/panther/elettra_lattice.json
- create a component bundle for 3D using component.php?machine=<your_machine>&save and a coponent bundle for 2D using component.php?machine=<your_machine>&2d&save
- edit file panther_conf.js, panther.php and panther2d.php according to your setup