particles.json.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. window.possible_particles = function(){ return [
  2. {
  3. type: "Higgs",
  4. mass: 125,
  5. charge: 0,
  6. points: 125,
  7. appearence_probabilty: .03,
  8. half_life: 5,
  9. decays: [{particles: ["W", "W"], probability: 1.}],
  10. draw_properties: {
  11. colors: ["hsl(0, 100%, 50%)", "hsl(0, 40%, 50%)"],
  12. ratios: [0, 1],
  13. inner_radius: .03,
  14. outer_radius: .13,
  15. inner_center: {x: .07, y: .07},
  16. outer_center: {x: 0, y: 0}
  17. },
  18. animation_function: function(pv){
  19. createjs.Tween.get(pv, {loop: true})
  20. .to({ scaleX: 0.9, scaleY: 1.1 }, 200)
  21. .to({ scaleX: 1.1, scaleY: 0.9 }, 200);
  22. },
  23. facts:[
  24. "Higgs boson was discovered in 2012 by CMS and ATLAS collaborations at LHC at CERN","The measured mass of the Higgs boson is around 126 Gev/c^2.","The spin of the Higgs boson is 0.","The Higgs boson is a particle which gives mass to elementary particles."
  25. ]
  26. },
  27. {
  28. type: "electron",
  29. mass: 0.0005,
  30. charge: -1,
  31. points: 1,
  32. appearence_probabilty: .03,
  33. draw_properties: {
  34. colors: ["hsl(120, 100%, 50%)", "hsl(120, 40%, 50%)"],
  35. ratios: [0, 1],
  36. inner_radius: .02,
  37. outer_radius: .04,
  38. inner_center: {x: .01, y: .01},
  39. outer_center: {x: 0, y: 0}
  40. },
  41. animation_function: function(pv){
  42. createjs.Tween.get(pv, {loop: true})
  43. .to({ scaleX: 0.9, scaleY: 1.1 }, 200)
  44. .to({ scaleX: 1.1, scaleY: 0.9 }, 200);
  45. },
  46. facts:[
  47. "The electron was discovered by J.J. Thomson in 1897.","The electron charge was firstly carefully measured by Robert Millikan in 1909.","We still think, that the electron is point-like."
  48. ]
  49. },
  50. {
  51. type: "positron",
  52. mass: 0.0005,
  53. charge: 1,
  54. points: 1,
  55. appearence_probabilty: .03,
  56. draw_properties: {
  57. colors: ["hsl(120, 100%, 50%)", "hsl(120, 40%, 50%)"],
  58. ratios: [0, 1],
  59. inner_radius: .02,
  60. outer_radius: .04,
  61. inner_center: {x: .01, y: .01},
  62. outer_center: {x: 0, y: 0}
  63. },
  64. animation_function: function(pv){
  65. createjs.Tween.get(pv, {loop: true})
  66. .to({ scaleX: 0.9, scaleY: 1.1 }, 200)
  67. .to({ scaleX: 1.1, scaleY: 0.9 }, 200);
  68. },
  69. facts:[
  70. "Carl D. Anderson discovered the positron in 1932.","The positron is the antiparticle of the electron.","Dirac predicted the existance of the positron 4 years before its discovery."
  71. ]
  72. },
  73. {
  74. type: "muon",
  75. mass: 0.1,
  76. charge: -1,
  77. points: 1,
  78. appearence_probabilty: .03,
  79. draw_properties: {
  80. colors: ["hsl(120, 100%, 50%)", "hsl(120, 40%, 50%)"],
  81. ratios: [0, 1],
  82. inner_radius: .02,
  83. outer_radius: .04,
  84. inner_center: {x: .01, y: .01},
  85. outer_center: {x: 0, y: 0}
  86. },
  87. animation_function: function(pv){
  88. createjs.Tween.get(pv, {loop: true})
  89. .to({ scaleX: 0.9, scaleY: 1.1 }, 200)
  90. .to({ scaleX: 1.1, scaleY: 0.9 }, 200);
  91. },
  92. facts:[
  93. "The muon was discovered by Carl D. Anderson in 1936.","The mass of the muon is about 207 times the mass of the electron."
  94. ]
  95. },
  96. {
  97. type: "neutrino",
  98. mass: 0.00001,
  99. charge: 0,
  100. points: 1,
  101. appearence_probabilty: .03,
  102. draw_properties: {
  103. colors: ["hsl(120, 100%, 50%)", "hsl(120, 40%, 50%)"],
  104. ratios: [0, 1],
  105. inner_radius: .02,
  106. outer_radius: .04,
  107. inner_center: {x: .01, y: .01},
  108. outer_center: {x: 0, y: 0}
  109. },
  110. animation_function: function(pv){
  111. createjs.Tween.get(pv, {loop: true})
  112. .to({ scaleX: 0.9, scaleY: 1.1 }, 200)
  113. .to({ scaleX: 1.1, scaleY: 0.9 }, 200);
  114. },
  115. facts:[
  116. "The neutrino was discovered by Cowan and Reines in 1956.","There are three neutrinos: the electron neutrino, the muon neutrino, and the tau neutrino.","The neutrino was theorized by Wolfgang Pauli in 1930 to try to explain the Beta decay."
  117. ]
  118. },
  119. {
  120. type: "photon",
  121. mass: 0.0000,
  122. charge: 0,
  123. points: 1,
  124. appearence_probabilty: .03,
  125. draw_properties: {
  126. colors: ["hsl(120, 100%, 50%)", "hsl(120, 40%, 50%)"],
  127. ratios: [0, 1],
  128. inner_radius: .02,
  129. outer_radius: .04,
  130. inner_center: {x: .01, y: .01},
  131. outer_center: {x: 0, y: 0}
  132. },
  133. animation_function: function(pv){
  134. createjs.Tween.get(pv, {loop: true})
  135. .to({ scaleX: 0.9, scaleY: 1.1 }, 200)
  136. .to({ scaleX: 1.1, scaleY: 0.9 }, 200);
  137. },
  138. facts:[
  139. "The photon is the constituent of light.","Photons in the vacuum move always at 299792km/s."
  140. ]
  141. }
  142. ];}