Skip to content
Snippets Groups Projects
Commit 67861712 authored by Lucio Zambon's avatar Lucio Zambon
Browse files

Update README.md

parent 735eb1cf
No related branches found
No related tags found
No related merge requests found
# PAnTHer
Particle Accelerator on THreeJS
PAnTHer is a model of particle accelerators
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
......@@ -15,8 +14,8 @@ https://www.youtube.com/watch?v=53zyVab37rg
- 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
https://gitlab.elettra.eu/puma/client/panther/-/raw/master/panther_lattice.json
for example:
https://gitlab.elettra.eu/puma/client/web/-/raw/master/panther/elettra_lattice.json
https://gitlab.elettra.eu/puma/client/panther/-/raw/master/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
- edit file panther_conf.js, panther.php and panther2d.php and adjust according to your setup
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment