{
  "information": {
    "Title": "Penetrating power of alpha, beta and gamma radiation",
    "Author": [
      "weelookang@gmail.com",
      "Francisco Esquembre",
      "Felix J. Garcia Clemente",
      "fazli"
    ],
    "AuthorLogo": [
      "./1authorlookangphoto5050.png",
      "./01authorPacoEsquembre2011.png",
      "./01authorFelix_J_Garcia_Clemente.png"
    ],
    "Password": "",
    "Keywords": "",
    "Abstract": "",
    "Copyright": "",
    "Level": "",
    "Language": "",
    "Logo": [
      "./particlepenetration/Screenshot 2023-04-13 at 9.14.59 AM.png"
    ],
    "RunAlways": "true",
    "ModelTab": "",
    "ModelTabTitle": "",
    "ModelName": "",
    "FixedNavigationBar": "false",
    "CSSFile": "",
    "DetectedFiles": [
      "./01authorFelix_J_Garcia_Clemente.png",
      "./01authorPacoEsquembre2011.png",
      "./1authorlookangphoto5050.png",
      "./particlepenetration/Screenshot 2023-04-13 at 9.14.59 AM.png"
    ],
    "AuxiliaryFiles": [
      "./particlepenetration/"
    ],
    "HTMLHead": "\n<script async=\"true\" src=\"https://www.googletagmanager.com/gtag/js?id=G-M396R7RYSG\"></script>\n<script>\n  window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n\n  gtag('config', 'G-M396R7RYSG');\n</script>\n<script data-ad-client=\"ca-pub-0121577198857509\" async=\"true\" src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>",
    "SaveInXMLFormat": "false",
    "IncludeSource": "true",
    "IncludeLibrary": "true",
    "UglifyJS": "false",
    "PreviewFullModel": "false",
    "UseInterpreter": "true",
    "UseDeltaForODE": "false"
  },
  "description": {
    "pages": []
  },
  "model": {
    "variables": {
      "pages": [
        {
          "Name": "Var Table",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "t",
              "Value": "0",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "dt",
              "Value": "0.05",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "pi",
              "Value": "Math.PI",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "font",
              "Value": "\"normal normal 1vw \"",
              "Type": "String",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "n",
              "Value": "32",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "angle",
              "Value": "pi",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            }
          ]
        },
        {
          "Name": "material",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "length",
              "Value": "4",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "height",
              "Value": "11",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "paperX",
              "Value": "-13",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "paperY",
              "Value": "6",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "paperthick",
              "Value": "0.1",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "alX",
              "Value": "-3",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "alY",
              "Value": "6",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "althick",
              "Value": "1",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "pbX",
              "Value": "7",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "pbY",
              "Value": "6",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "pbthick",
              "Value": "1",
              "Type": "double",
              "Dimension": "",
              "Comment": "lookang",
              "Domain": "public"
            },
            {
              "Name": "displayPaper",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayAl",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayPb",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "ra",
              "Value": "0.8",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "dx",
              "Value": "0.3",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "dy",
              "Value": "0.6",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "alphaX",
              "Value": "-19",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "alphaY",
              "Value": "3",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "va",
              "Value": "4",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayAlpha",
              "Value": "",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayA",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "rb",
              "Value": "15",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "betaX",
              "Value": "-19",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "betaY",
              "Value": "0",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "vb",
              "Value": "12",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayBeta",
              "Value": "",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayBeta2",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayB",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "gammaX",
              "Value": "-19",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "gammaY",
              "Value": "-3",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayGamma",
              "Value": "",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "displayG",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            }
          ]
        },
        {
          "Name": "circle",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "x",
              "Value": "",
              "Type": "double",
              "Dimension": "[n+1]",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "y",
              "Value": "",
              "Type": "double",
              "Dimension": "[n+1]",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "theta",
              "Value": "pi/4",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            }
          ]
        },
        {
          "Name": "layout",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "iOS",
              "Value": "/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "http://stackoverflow.com/questions/9038625/detect-if-device-is-ios",
              "Domain": "public"
            },
            {
              "Name": "Android",
              "Value": "/Android|android/i.test(navigator.userAgent)",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "iPad",
              "Value": "/iPad/.test(navigator.userAgent) && !window.MSStream",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "http://stackoverflow.com/questions/9038625/detect-if-device-is-ios",
              "Domain": "public"
            },
            {
              "Name": "iPhone",
              "Value": "/iPhone|iPod/.test(navigator.userAgent) && !window.MSStream",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "http://stackoverflow.com/questions/9038625/detect-if-device-is-ios",
              "Domain": "public"
            },
            {
              "Name": "Width",
              "Value": "(_isEPub)?\"400\":\"100%\"",
              "Type": "String",
              "Dimension": "",
              "Comment": "display width",
              "Domain": "public"
            },
            {
              "Name": "Height",
              "Value": "(_isEPub)?\"500\":\"100%\"",
              "Type": "String",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "Width1",
              "Value": "\"100%\"",
              "Type": "String",
              "Dimension": "",
              "Comment": "display width",
              "Domain": "public"
            },
            {
              "Name": "Width2",
              "Value": "\"50%\"",
              "Type": "String",
              "Dimension": "",
              "Comment": "display width",
              "Domain": "public"
            },
            {
              "Name": "world",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "graph",
              "Value": "true",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "disabledworld",
              "Value": "false",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "disabled",
              "Value": "false",
              "Type": "boolean",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            }
          ]
        },
        {
          "Name": "cells",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "",
              "Value": "",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "xmin",
              "Value": "-25",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "xmax",
              "Value": "25",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "ymin",
              "Value": "-10",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "ymax",
              "Value": "10",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            }
          ]
        },
        {
          "Name": "lookang",
          "Active": "true",
          "Internal": "false",
          "Type": "VARIABLE_EDITOR",
          "PageComment": "",
          "Variables": [
            {
              "Name": "A",
              "Value": "1",
              "Type": "double",
              "Dimension": "",
              "Comment": "Amplitude",
              "Domain": "public"
            },
            {
              "Name": "A2",
              "Value": "A/pbthick",
              "Type": "double",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "hint",
              "Value": "",
              "Type": "String",
              "Dimension": "",
              "Comment": "null",
              "Domain": "public"
            },
            {
              "Name": "lambda",
              "Value": "1",
              "Type": "double",
              "Dimension": "",
              "Comment": "wavelength",
              "Domain": "public"
            },
            {
              "Name": "k",
              "Value": "2.0*Math.PI/lambda",
              "Type": "double",
              "Dimension": "",
              "Comment": "wavenumber",
              "Domain": "public"
            },
            {
              "Name": "w",
              "Value": "10",
              "Type": "double",
              "Dimension": "",
              "Comment": "Angular frequency",
              "Domain": "public"
            }
          ]
        }
      ]
    },
    "initialization": {
      "pages": [
        {
          "Name": "Init Page",
          "Active": "false",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "\n//circle\nangle = pi; //angle to draw\ndangle = angle/n; //spacing of angle\n\n\n\nfor (var i=0; i<=n  ; i++) {\n \n x[i] = Math.cos(i*dangle); // first point is on the right corner say x of(1,0)\n y[i] = Math.sin(i*dangle); // first point is on the right corner say  y of (1,0)\n \n}\n\n//x[0] = 0;\n//y[0]=0;\nx[n+1] = x[0]; // join back to start\ny[n+1]=y[0];// join back to start\n\n\n\n"
        },
        {
          "Name": "Init Page 2",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "if (_isMobile){\n  //do nothing\n  }\n  \n  else{\n    // copy this into the initialization\n// make the font bigger\n\n_view.plottingPanel.getMessageDecoration(\"TL\").getFont().setFontSize(\"1vw\");\n_view.plottingPanel.getMessageDecoration(\"TR\").getFont().setFontSize(\"1vw\");\n_view.plottingPanel.getMessageDecoration(\"BL\").getFont().setFontSize(\"1vw\");\n_view.plottingPanel.getMessageDecoration(\"BR\").getFont().setFontSize(\"1vw\");\n\n//_view.plottingPanel.getMessageDecoration(\"TL\").getStyle().setFillColor(\"red\");\n    }"
        },
        {
          "Name": "defined",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "if (hint==undefined){\n  hint = \"\";\n  }\n  \n  \n  if ( displayAlpha==undefined){\n   displayAlpha = true;\n  }\n \n if ( displayBeta==undefined){\n   displayBeta = false;\n  }\n  \n  if ( displayGamma==undefined){\n   displayGamma = false;\n  }\n"
        }
      ]
    },
    "evolution": {
      "information": {
        "FPS": "20",
        "SPD": "1",
        "RealTimeVariable": "",
        "Autoplay": "false"
      },
      "pages": [
        {
          "Name": "Evol Page",
          "Active": "true",
          "Internal": "false",
          "Type": "ODE_EDITOR",
          "Comment": "",
          "IndependentVariable": "t",
          "Increment": "dt",
          "Equations": [
            {
              "state": "alphaX",
              "rate": "va"
            },
            {
              "state": "betaX",
              "rate": "vb"
            }
          ],
          "Method": "RungeKutta",
          "AbsoluteTolerance": "0.00001",
          "PreliminaryCode": {
            "Code": "",
            "Comment": "Code to be executed before rate equations are evaluated"
          },
          "EventMaximumStep": "",
          "Events": {
            "pages": []
          },
          "ZenoEffect": {
            "Code": "",
            "Comment": "",
            "StopAfterEffect": "true"
          },
          "AccelerationIndependentOfVelocity": "false",
          "ForceSynchronization": "false",
          "UseBestInterpolation": "false",
          "EstimateFirstStep": "false",
          "MemoryLength": "",
          "InternalStep": "",
          "MaximumStep": "",
          "MaximumNumberOfSteps": "10000",
          "RelativeTolerance": "",
          "DelayList": "",
          "DelayMaximum": "",
          "DelayAddDiscont": "",
          "DelayInitialCondition": {
            "Code": "",
            "Comment": ""
          },
          "DirectIncidenceMatrix": "",
          "Discontinuities": {
            "pages": []
          },
          "ErrorHandling": {
            "pages": []
          }
        }
      ]
    },
    "fixed_relations": {
      "pages": [
        {
          "Name": "SimpleSingleParticle",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "//currently, lookang think just one particle is sufficent, if need more need to add array\n\nif ((alphaX>paperX+length/2)&&displayPaper==true){\n\nalphaX =xmin // move alphaX to the extreme left again\n\n}\nelse if ((alphaX>alX+length/2)&&displayAl==true){\n\nalphaX =xmin // move alphaX to the extreme left again\n\n}\nelse if ((alphaX>pbX+length/2)&&displayPb==true){\n\nalphaX =xmin // move alphaX to the extreme left again\n\n}\n\n\nif ((betaX>alX+length/2)&&displayAl==true){\n\nbetaX =xmin // move betaX to the extreme left again\n//alert()\n\n}\nelse if ((betaX>pbX+length/2)&&displayAl==false){\n\nbetaX =xmin // move betaX to the extreme left again\n\n}\n"
        },
        {
          "Name": "pbcalculation",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "\nif (displayPb==false){\nA2 = A // simple model of same amplitude if pb is not display\n}\nelse if (pbthick<5){\nA2 = A/Math.max(pbthick*pbthick,2) // simple model of reducing at 1/pbthick^2\n}\nelse {\n  A2 =0 // simple model to show zero\n  }\n"
        },
        {
          "Name": "displayBeta",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "if(paperX+length/2<betaX && betaX<paperX+length+paperthick){\n  displayBeta2=false\n}\nelse{\n  displayBeta2=true\n}\n\n"
        },
        {
          "Name": "hints",
          "Active": "true",
          "Internal": "false",
          "Type": "CODE_EDITOR",
          "Comment": "",
          "Code": "var hintA\nvar hintB\nvar hintC\n\nif (t>0){\n\nif (displayAlpha){\nhintA = \"Alpha particles are the least penetrating and can be stopped by a sheet of paper\"\n}\nelse {\n  hintA = \"\"\n  }\n  \n  if (displayBeta){\nhintB = \"Beta particles are more penetrating and can penetrate paper but not Aluminium\"\n}\nelse {\n  hintB = \"\"\n  }\n\n if (displayGamma){\n//displayGamma?\"Gamma rays are the most penetrating and can penetrate several centimeters of lead\":\"\"\nhintC = \"Gamma rays are the most penetrating and can penetrate several centimeters of lead\"\n}\nelse {\n  hintC = \"\"\n  }\nhint = hintA +\"\\n\"+ hintB +\"\\n\"+ hintC\n}\n"
        }
      ]
    },
    "custom": {
      "pages": [
        {
          "Name": "fullscreen",
          "Active": "true",
          "Internal": "false",
          "Type": "LIBRARY_EDITOR",
          "Comment": "",
          "Code": "//https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode\n// does not work for iOS \n/*jslint browser:true */\nfunction toggleFullScreen() {\n  if (!document.fullscreenElement &&    // alternative standard method\n      !document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement ) {  // current working methods\n    if (document.documentElement.requestFullscreen) {\n      document.documentElement.requestFullscreen();\n    } else if (document.documentElement.msRequestFullscreen) {\n      document.documentElement.msRequestFullscreen();\n    } else if (document.documentElement.mozRequestFullScreen) {\n      document.documentElement.mozRequestFullScreen();\n    } else if (document.documentElement.webkitRequestFullscreen) {\n      document.documentElement.webkitRequestFullscreen();\n    }\n  } else {\n    if (document.exitFullscreen) {\n      document.exitFullscreen();\n    } else if (document.msExitFullscreen) {\n      document.msExitFullscreen();\n    } else if (document.mozCancelFullScreen) {\n      document.mozCancelFullScreen();\n    } else if (document.webkitExitFullscreen) {\n      document.webkitExitFullscreen();\n    }\n  }\n}"
        },
        {
          "Name": "changeOrientation",
          "Active": "true",
          "Internal": "false",
          "Type": "LIBRARY_EDITOR",
          "Comment": "",
          "Code": "// code to be copied to EJSS source code under Custom and used in drawingPanel3D and plottingPanel2D\n// address the problem is height difference is iOS app , epub, and Firefox\n// user need to change only k and kepub\n// copy %changeOrientation()% into the Height Field of drawingPanel3D and plottingPanel2D\nfunction changeOrientation() {\n \nvar k =0.90 ; // k control height 1 is for full screen, 0.9 shorten etc\nvar kapple =0.90 // control apple app height\nvar kepub =0.90 ;\n// check platform for Apps\ntry { // allow code to run in Student Learning Space \n  var iOSapp =  (typeof parent.device != 'undefined' && parent.device.platform == \"iOS\");\n  var Androidapp = (typeof parent.device != 'undefined' && parent.device.platform == \"Android\");\n} catch(e) {\n  var iOSapp = false;\n  var Androidapp = false;\n}\n// check platform for web browsers\nvar iOS =/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\nvar iPad =/iPad/.test(navigator.userAgent) && !window.MSStream;\nvar iPhone = /iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\nvar Android= /Android|android/i.test(navigator.userAgent);\n\n//navigator\nvar Firefox = navigator.userAgent.indexOf(\"Firefox\") != -1;\n \nswitch (window.orientation) { // using window.orientation as deciding factor\n  case 0:\n  case 180:\n    this.screenOrientation = 'portrait';\n    if (iOSapp){ // does not seems to work\n      \n      return window.screen.height*kapple;  //0.1 for app and 0.1 for nonfullscreenapp  \n    \n    }\n    else if (_isEPub){ // does not seems to work\n      //   return Math.max(window.screen.width,window.screen.height)*0.9;\n      return window.innerHeight*kepub;  //0.1 for app and 0.1 for nonfullscreenapp  \n      // return window.screen.height;\n      //  return window.innerHeight;\n      // return document.documentElement.clientHeight;\n    }\n   \n    else {\n     \n      return 100*k+\"vh\";\n    }\n    break;\n  case 90:\n  case -90:\n    this.screenOrientation = 'landscape';\n \n    if (iOSapp){ // App\n      return window.screen.width*kapple;  \n      // return window.screen.height;\n      //  return window.innerHeight;\n      //  return document.documentElement.clientHeight;\n    }\n    else if (_isEPub){ // does not seems to work\n      //   return Math.max(window.screen.width,window.screen.height)*0.9;\n      return window.innerHeight*kepub;  //0.1 for app and 0.1 for nonfullscreenapp  \n      // return window.screen.height;\n      //  return window.innerHeight;\n      // return document.documentElement.clientHeight;\n    }\n   \n    else {\n      return 100*k+\"vh\";\n      }\n    break;\n  default:\n    this.screenOrientation = 'unknown';\n    //       return (iPad)?\"\"+(window.screen.width+window.screen.height)*0.4:((iPhone)?\"\"+window.screen.width:_view._format(window.innerHeight*0.9,\"0\"));\n     if (Firefox){\n      return window.innerHeight*k;// number as of 20180831 Firefox does not support vh yet so need a separate line to handle\n      }\n   //   else if (iOS&&(window.orientation==0)||(window.orientation==180)){\n   //   return  window.screen.height*k;// number as of 20180831 Firefox does not support vh yet so need a separate line to handle\n   //   }\n    //  else if (iOS&&(window.orientation==90)||(window.orientation==-90)){\n   //   return  window.screen.width*k;// number as of 20180831 Firefox does not support vh yet so need a separate line to handle\n   //   }\n      else {\n      //alert();\n      // return 100*k+\"%\"; // work on fullscreen works in EJSS6.0beta\n        //  works in EjsS_5.3_180131\n      return  window.innerHeight*k; // work on panel \n       \n}\n\n}\n \n}"
        },
        {
          "Name": "speech",
          "Active": "true",
          "Internal": "false",
          "Type": "LIBRARY_EDITOR",
          "Comment": "",
          "Code": "// copy this custom function\n// in iOS need to add speech to the play button as On iOS the API works but must be triggered by a user action callback, like a response to a tap event, to provide a better experience to users and avoid unexpected sounds out of your phone\nfunction speech (option) {\n\n\ntry { // allow code to run in Student Learning Space \nvar isCordova = (!!this.parent.cordova || !!window.cordova);\nif(isCordova) { // check it is running in Android or iOS\n       // parent.TTS.speak({text:option,locale:'zh-CN'});\n\tparent.TTS.speak({text:option,locale:'us-EN'});\n\t// parent.TTS.speak({text:option,locale:'en-US'});\n\t// parent.TTS.speak({text:option,locale:'id-ID'});\n} \n} \ncatch(e) {\n  var isCordova = false;\n  }\n  \n   var msg = new SpeechSynthesisUtterance(option);\n\n  //https://stackoverflow.com/questions/43983845/speechsynthesis-api-for-chinese-firefox\n  // Set the text.\n\t//msg.text = option; \n\t//https://forums.developer.apple.com/message/323564#323564\n\t// comment out the next 2 lines for english\n//msg.voice = speechSynthesis.getVoices().filter(function(voice) { return voice.name == 'Ting-Ting'; })[0];\n//msg.lang = 'zh-CH'; // need for android?\n//msg.lang = 'id-ID'; // need for android?\nmsg.lang = 'us-EN'; // need for android?\n\n//https://flaviocopes.com/speech-synthesis-api/\n//debug\n//console.log(`Voices #: ${speechSynthesis.getVoices().length}`)\n//speechSynthesis.getVoices().forEach(voice => {\n// console.log(voice.name, voice.lang)\n//})\n//debug\n\n// Queue this utterance.\nwindow.speechSynthesis.speak(msg);\n\n\n\n \n\n}"
        },
        {
          "Name": "visible",
          "Active": "true",
          "Internal": "false",
          "Type": "LIBRARY_EDITOR",
          "Comment": "",
          "Code": "//function visibleAlpha () {\n  //if !(displayAlpha) {\n    //return false;\n  //}\n  //if (displayPaper) {\n    //return alphaX < paperX + length/2;\n  //}\n  //else if (displayAl) {\n    //return alphaX < alX + length/2;\n  //}\n  //else if (displayPb) {\n    //return alphaX < pbX + length/2;\n  //}\n//}\n    \n\n"
        }
      ]
    },
    "elements": {
      "list": []
    }
  },
  "view": {
    "Tree": [
      {
        "Name": "fullscreen",
        "Type": "Panel",
        "Expanded": "true",
        "Properties": [
          {
            "name": "Width",
            "value": "Width"
          }
        ],
        "Children": [
          {
            "Name": "control",
            "Type": "Panel",
            "Expanded": "false",
            "Properties": [
              {
                "name": "BorderWidth",
                "value": "1"
              }
            ],
            "Children": [
              {
                "Name": "controlPanel",
                "Type": "Panel",
                "Expanded": "false",
                "Properties": [
                  {
                    "name": "Font",
                    "value": "font"
                  }
                ],
                "Children": [
                  {
                    "Name": "checkBoxAlpha",
                    "Type": "CheckBox",
                    "Properties": [
                      {
                        "name": "OnCheckOff",
                        "value": "displayAlpha=false;"
                      },
                      {
                        "name": "Checked",
                        "value": "displayAlpha"
                      },
                      {
                        "name": "Tooltip",
                        "value": "\"Alpha particles are the least penetrating and can be stopped by a sheet of paper\""
                      },
                      {
                        "name": "Text",
                        "value": "\"\u03b1 Alpha\""
                      },
                      {
                        "name": "OnCheckOn",
                        "value": "displayAlpha=true;"
                      },
                      {
                        "name": "Display",
                        "value": "\"inline-block\""
                      }
                    ]
                  },
                  {
                    "Name": "checkBoxBeta",
                    "Type": "CheckBox",
                    "Properties": [
                      {
                        "name": "OnCheckOff",
                        "value": "displayBeta=false;"
                      },
                      {
                        "name": "Checked",
                        "value": "displayBeta"
                      },
                      {
                        "name": "Background",
                        "value": "\"Magenta\""
                      },
                      {
                        "name": "Tooltip",
                        "value": "\"Beta particles are more penetrating and can penetrate paper but not Aluminium\""
                      },
                      {
                        "name": "Text",
                        "value": "\"\u03b2 Beta\""
                      },
                      {
                        "name": "OnCheckOn",
                        "value": "displayBeta=true;"
                      },
                      {
                        "name": "Display",
                        "value": "\"inline-block\""
                      }
                    ]
                  },
                  {
                    "Name": "checkBoxGamma",
                    "Type": "CheckBox",
                    "Properties": [
                      {
                        "name": "OnCheckOff",
                        "value": "displayGamma=false;\n"
                      },
                      {
                        "name": "Checked",
                        "value": "displayGamma"
                      },
                      {
                        "name": "Background",
                        "value": "\"Red\""
                      },
                      {
                        "name": "Tooltip",
                        "value": "\"Gamma rays are the most penetrating and can penetrate several centimeters of lead\""
                      },
                      {
                        "name": "Text",
                        "value": "\"\u03b3 Gamma\""
                      },
                      {
                        "name": "OnCheckOn",
                        "value": "displayGamma=true;"
                      },
                      {
                        "name": "Display",
                        "value": "\"inline-block\""
                      }
                    ]
                  },
                  {
                    "Name": "paper2",
                    "Type": "Panel",
                    "Expanded": "true",
                    "Properties": [
                      {
                        "name": "Background",
                        "value": "\"White\""
                      },
                      {
                        "name": "Display",
                        "value": "\"inline-block\""
                      }
                    ],
                    "Children": [
                      {
                        "Name": "checkBoxPaper",
                        "Type": "CheckBox",
                        "Properties": [
                          {
                            "name": "OnCheckOff",
                            "value": "displayPaper=false;"
                          },
                          {
                            "name": "Checked",
                            "value": "true"
                          },
                          {
                            "name": "Background",
                            "value": "\"White\""
                          },
                          {
                            "name": "Text",
                            "value": "\"Paper\""
                          },
                          {
                            "name": "OnCheckOn",
                            "value": "displayPaper=true;"
                          },
                          {
                            "name": "Display",
                            "value": "\"inline-block\""
                          }
                        ]
                      },
                      {
                        "Name": "sliderPaper",
                        "Type": "Slider",
                        "Properties": [
                          {
                            "name": "Minimum",
                            "value": "0.1"
                          },
                          {
                            "name": "Maximum",
                            "value": "3"
                          },
                          {
                            "name": "Background",
                            "value": "\"White\""
                          },
                          {
                            "name": "Value",
                            "value": "paperthick"
                          },
                          {
                            "name": "Step",
                            "value": "0.1"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "Name": "AL",
                    "Type": "Panel",
                    "Expanded": "true",
                    "Properties": [
                      {
                        "name": "Background",
                        "value": "\"LightGray\""
                      },
                      {
                        "name": "Display",
                        "value": "\"inline-block\""
                      }
                    ],
                    "Children": [
                      {
                        "Name": "checkBoxaAl",
                        "Type": "CheckBox",
                        "Properties": [
                          {
                            "name": "Checked",
                            "value": "true"
                          },
                          {
                            "name": "OnCheckOff",
                            "value": "displayAl=false;"
                          },
                          {
                            "name": "Background",
                            "value": "\"LightGray\""
                          },
                          {
                            "name": "Text",
                            "value": "\"Aluminium\""
                          },
                          {
                            "name": "OnCheckOn",
                            "value": "displayAl=true;"
                          },
                          {
                            "name": "Display",
                            "value": "\"inline-block\""
                          }
                        ]
                      },
                      {
                        "Name": "sliderAl",
                        "Type": "Slider",
                        "Properties": [
                          {
                            "name": "Minimum",
                            "value": "0.1"
                          },
                          {
                            "name": "Maximum",
                            "value": "3"
                          },
                          {
                            "name": "Background",
                            "value": "\"LightGray\""
                          },
                          {
                            "name": "Value",
                            "value": "althick"
                          },
                          {
                            "name": "Step",
                            "value": "0.1"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "Name": "Pb",
                    "Type": "Panel",
                    "Expanded": "true",
                    "Properties": [
                      {
                        "name": "Background",
                        "value": "\"DarkGray\""
                      },
                      {
                        "name": "Display",
                        "value": "\"inline-block\""
                      }
                    ],
                    "Children": [
                      {
                        "Name": "checkBoxPb",
                        "Type": "CheckBox",
                        "Properties": [
                          {
                            "name": "Checked",
                            "value": "true"
                          },
                          {
                            "name": "OnCheckOff",
                            "value": "displayPb=false;"
                          },
                          {
                            "name": "Background",
                            "value": "\"DarkGray\""
                          },
                          {
                            "name": "Text",
                            "value": "\"Lead\""
                          },
                          {
                            "name": "OnCheckOn",
                            "value": "displayPb=true;"
                          },
                          {
                            "name": "Display",
                            "value": "\"inline-block\""
                          }
                        ]
                      },
                      {
                        "Name": "sliderPb",
                        "Type": "Slider",
                        "Properties": [
                          {
                            "name": "Minimum",
                            "value": "1"
                          },
                          {
                            "name": "Maximum",
                            "value": "5"
                          },
                          {
                            "name": "Background",
                            "value": "\"DarkGray\""
                          },
                          {
                            "name": "Value",
                            "value": "pbthick"
                          },
                          {
                            "name": "Step",
                            "value": "0.1"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "Name": "playPauseButton2",
                    "Type": "TwoStateButton",
                    "Properties": [
                      {
                        "name": "OffClick",
                        "value": "_pause();\n//speech (\"paused\");"
                      },
                      {
                        "name": "TextOn",
                        "value": "\"Play\u25b6\""
                      },
                      {
                        "name": "State",
                        "value": "_isPaused"
                      },
                      {
                        "name": "Tooltip",
                        "value": "\"Play/Pause\""
                      },
                      {
                        "name": "TextOff",
                        "value": "\"Pause\u275a\u275a\""
                      },
                      {
                        "name": "OnClick",
                        "value": "_play();\n//speech (\"play\");"
                      },
                      {
                        "name": "Font",
                        "value": "font"
                      }
                    ]
                  },
                  {
                    "Name": "stepButton2",
                    "Type": "Button",
                    "Properties": [
                      {
                        "name": "Text",
                        "value": "\"Step|\u25ba\""
                      },
                      {
                        "name": "OnClick",
                        "value": "_step()"
                      },
                      {
                        "name": "Font",
                        "value": "font"
                      }
                    ]
                  },
                  {
                    "Name": "resetButton3",
                    "Type": "Button",
                    "Properties": [
                      {
                        "name": "Text",
                        "value": "\"Reset\u21bb\""
                      },
                      {
                        "name": "OnClick",
                        "value": "_reset();\n//speechzh (\"\u4f60\u597d\");\n"
                      },
                      {
                        "name": "Font",
                        "value": "font"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "Name": "panel",
            "Type": "Panel",
            "Expanded": "false",
            "Properties": [
              {
                "name": "Height",
                "value": "\"100%\""
              },
              {
                "name": "Width",
                "value": "\"100%\""
              }
            ],
            "Children": [
              {
                "Name": "plottingPanel",
                "Type": "PlottingPanel",
                "Expanded": "true",
                "Properties": [
                  {
                    "name": "Gutters",
                    "value": "[0,0,0,0]"
                  },
                  {
                    "name": "ShowAreaRectangle",
                    "value": "false"
                  },
                  {
                    "name": "YScalePrecision",
                    "value": "0"
                  },
                  {
                    "name": "XFixedTick",
                    "value": "-1"
                  },
                  {
                    "name": "OnDoubleClick",
                    "value": "toggleFullScreen();"
                  },
                  {
                    "name": "YFixedTick",
                    "value": "0"
                  },
                  {
                    "name": "XTickStep",
                    "value": "10"
                  },
                  {
                    "name": "YTickStep",
                    "value": "3"
                  },
                  {
                    "name": "XAutoTicks",
                    "value": "false"
                  },
                  {
                    "name": "Height",
                    "value": "%changeOrientation()%"
                  },
                  {
                    "name": "OnPress",
                    "value": "var position = _view.plottingPanel.getInteraction().getInteractionPoint();\n"
                  },
                  {
                    "name": "Width",
                    "value": "Width1"
                  },
                  {
                    "name": "TLMessage",
                    "value": "%hint%"
                  },
                  {
                    "name": "Enabled",
                    "value": "true"
                  },
                  {
                    "name": "SquareAspect",
                    "value": "true"
                  },
                  {
                    "name": "MaximumY",
                    "value": "9"
                  },
                  {
                    "name": "MaximumX",
                    "value": "10"
                  },
                  {
                    "name": "EnabledDragging",
                    "value": "\"ENABLED_X\""
                  },
                  {
                    "name": "YAutoTicks",
                    "value": "false"
                  },
                  {
                    "name": "MinimumX",
                    "value": "-10"
                  },
                  {
                    "name": "MinimumY",
                    "value": "-9"
                  },
                  {
                    "name": "AutoScaleY",
                    "value": "false"
                  },
                  {
                    "name": "AutoScaleX",
                    "value": "false"
                  },
                  {
                    "name": "Visibility",
                    "value": "world===true"
                  },
                  {
                    "name": "XScalePrecision",
                    "value": "0"
                  },
                  {
                    "name": "BRMessage",
                    "value": "\"  t = \"+_view._format(t,\"0.00\")+ \" s \""
                  }
                ],
                "Children": [
                  {
                    "Name": "paper",
                    "Type": "Polygon2D",
                    "Properties": [
                      {
                        "name": "Points",
                        "value": "[[paperX,paperY],[paperX+length,paperY-1],[paperX+length,paperY-1-height],[paperX,paperY-height],[paperX,paperY],[paperX+paperthick,paperY],[paperX+paperthick+length,paperY-1],[paperX+paperthick+length,paperY-height-1],[paperX+length,paperY-height-1]]"
                      },
                      {
                        "name": "FillColor",
                        "value": "\"White\""
                      },
                      {
                        "name": "LineColor",
                        "value": "\"Blue\""
                      },
                      {
                        "name": "Visibility",
                        "value": "displayPaper"
                      }
                    ]
                  },
                  {
                    "Name": "paperline_needtodraw_toavoid_the_ploygon",
                    "Type": "Segment2D",
                    "Properties": [
                      {
                        "name": "SizeX",
                        "value": "-paperthick"
                      },
                      {
                        "name": "Position",
                        "value": "[paperX+paperthick+length,paperY-1]"
                      },
                      {
                        "name": "LineColor",
                        "value": "\"Blue\""
                      },
                      {
                        "name": "Visibility",
                        "value": "displayPaper"
                      },
                      {
                        "name": "SizeY",
                        "value": "0"
                      },
                      {
                        "name": "Offset",
                        "value": "\"SOUTH_WEST\""
                      }
                    ]
                  },
                  {
                    "Name": "aluminium",
                    "Type": "Polygon2D",
                    "Properties": [
                      {
                        "name": "Points",
                        "value": "[[alX,alY],[alX+length,alY-1],[alX+length,alY-1-height],[alX,alY-height],[alX,alY],[alX+althick,alY],[alX+althick+length,alY-1],[alX+althick+length,alY-height-1],[alX+length,alY-height-1]]"
                      },
                      {
                        "name": "FillColor",
                        "value": "\"LightGray\""
                      },
                      {
                        "name": "Visibility",
                        "value": "displayAl"
                      }
                    ]
                  },
                  {
                    "Name": "alline_needtodraw_toavoid_the_ploygon",
                    "Type": "Segment2D",
                    "Properties": [
                      {
                        "name": "SizeX",
                        "value": "-althick"
                      },
                      {
                        "name": "Position",
                        "value": "[alX+althick+length,alY-1]"
                      },
                      {
                        "name": "Visibility",
                        "value": "displayAl"
                      },
                      {
                        "name": "SizeY",
                        "value": "0"
                      },
                      {
                        "name": "Offset",
                        "value": "\"SOUTH_WEST\""
                      }
                    ]
                  },
                  {
                    "Name": "debugging",
                    "Type": "Group2D",
                    "Expanded": "true",
                    "Properties": [
                      {
                        "name": "Visibility",
                        "value": "false"
                      }
                    ],
                    "Children": [
                      {
                        "Name": "shape3",
                        "Type": "Shape2D",
                        "Properties": [
                          {
                            "name": "SizeX",
                            "value": "5"
                          },
                          {
                            "name": "X",
                            "value": "alX+length/2"
                          },
                          {
                            "name": "SizeY",
                            "value": "5"
                          },
                          {
                            "name": "PixelSize",
                            "value": "true"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "Name": "Pbdebug",
                    "Type": "Group2D",
                    "Expanded": "true",
                    "Properties": [
                      {
                        "name": "Visibility",
                        "value": "false"
                      }
                    ],
                    "Children": [
                      {
                        "Name": "shape2",
                        "Type": "Shape2D",
                        "Properties": [
                          {
                            "name": "SizeX",
                            "value": "5"
                          },
                          {
                            "name": "X",
                            "value": "pbX+length/2"
                          },
                          {
                            "name": "SizeY",
                            "value": "5"
                          },
                          {
                            "name": "PixelSize",
                            "value": "true"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "Name": "lead",
                    "Type": "Polygon2D",
                    "Properties": [
                      {
                        "name": "Points",
                        "value": "[[pbX,pbY],[pbX+length,pbY-1],[pbX+length,pbY-1-height],[pbX,pbY-height],[pbX,pbY],[pbX+pbthick,pbY],[pbX+pbthick+length,pbY-1],[pbX+pbthick+length,pbY-height-1],[pbX+length,pbY-height-1]]"
                      },
                      {
                        "name": "FillColor",
                        "value": "\"Gray\""
                      },
                      {
                        "name": "Visibility",
                        "value": "displayPb"
                      }
                    ]
                  },
                  {
                    "Name": "leadline_needtodraw_toavoid_the_ploygon",
                    "Type": "Segment2D",
                    "Properties": [
                      {
                        "name": "SizeX",
                        "value": "-pbthick"
                      },
                      {
                        "name": "Position",
                        "value": "[pbX+pbthick+length,pbY-1]"
                      },
                      {
                        "name": "Visibility",
                        "value": "displayPb"
                      },
                      {
                        "name": "SizeY",
                        "value": "0"
                      },
                      {
                        "name": "Offset",
                        "value": "\"SOUTH_WEST\""
                      }
                    ]
                  },
                  {
                    "Name": "alpha",
                    "Type": "Group2D",
                    "Expanded": "true",
                    "Properties": [
                      {
                        "name": "PixelPosition",
                        "value": "true"
                      },
                      {
                        "name": "Visibility",
                        "value": "displayAlpha"
                      }
                    ],
                    "Children": [
                      {
                        "Name": "proton1",
                        "Type": "Shape2D",
                        "Properties": [
                          {
                            "name": "FillColor",
                            "value": "\"Green\""
                          },
                          {
                            "name": "SizeX",
                            "value": "ra"
                          },
                          {
                            "name": "ShapeType",
                            "value": "\"ELLIPSE\""
                          },
                          {
                            "name": "X",
                            "value": "alphaX-dx"
                          },
                          {
                            "name": "Y",
                            "value": "alphaY"
                          },
                          {
                            "name": "SizeY",
                            "value": "ra"
                          }
                        ]
                      },
                      {
                        "Name": "text",
                        "Type": "Text2D",
                        "Properties": [
                          {
                            "name": "X",
                            "value": "alphaX-dx"
                          },
                          {
                            "name": "Y",
                            "value": "alphaY"
                          },
                          {
                            "name": "Text",
                            "value": "\"+\""
                          }
                        ]
                      },
                      {
                        "Name": "neutron1",
                        "Type": "Shape2D",
                        "Properties": [
                          {
                            "name": "FillColor",
                            "value": "\"Cyan\""
                          },
                          {
                            "name": "SizeX",
                            "value": "ra"
                          },
                          {
                            "name": "ShapeType",
                            "value": "\"ELLIPSE\""
                          },
                          {
                            "name": "X",
                            "value": "alphaX-dx"
                          },
                          {
                            "name": "Y",
                            "value": "alphaY+dy"
                          },
                          {
                            "name": "SizeY",
                            "value": "ra"
                          }
                        ]
                      },
                      {
                        "Name": "proton2",
                        "Type": "Shape2D",
                        "Properties": [
                          {
                            "name": "FillColor",
                            "value": "\"Green\""
                          },
                          {
                            "name": "SizeX",
                            "value": "ra"
                          },
                          {
                            "name": "ShapeType",
                            "value": "\"ELLIPSE\""
                          },
                          {
                            "name": "X",
                            "value": "alphaX+dx"
                          },
                          {
                            "name": "Y",
                            "value": "alphaY+dy"
                          },
                          {
                            "name": "SizeY",
                            "value": "ra"
                          }
                        ]
                      },
                      {
                        "Name": "text2",
                        "Type": "Text2D",
                        "Properties": [
                          {
                            "name": "X",
                            "value": "alphaX+dx"
                          },
                          {
                            "name": "Y",
                            "value": "alphaY+dy"
                          },
                          {
                            "name": "Text",
                            "value": "\"+\""
                          }
                        ]
                      },
                      {
                        "Name": "neutron2",
                        "Type": "Shape2D",
                        "Properties": [
                          {
                            "name": "FillColor",
                            "value": "\"Cyan\""
                          },
                          {
                            "name": "SizeX",
                            "value": "ra"
                          },
                          {
                            "name": "ShapeType",
                            "value": "\"ELLIPSE\""
                          },
                          {
                            "name": "X",
                            "value": "alphaX+dx"
                          },
                          {
                            "name": "Y",
                            "value": "alphaY"
                          },
                          {
                            "name": "SizeY",
                            "value": "ra"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "Name": "beta",
                    "Type": "Shape2D",
                    "Properties": [
                      {
                        "name": "FillColor",
                        "value": "\"Magenta\""
                      },
                      {
                        "name": "SizeX",
                        "value": "rb"
                      },
                      {
                        "name": "ShapeType",
                        "value": "\"ELLIPSE\""
                      },
                      {
                        "name": "X",
                        "value": "betaX"
                      },
                      {
                        "name": "Y",
                        "value": "betaY"
                      },
                      {
                        "name": "Visibility",
                        "value": "displayBeta&&displayBeta2"
                      },
                      {
                        "name": "PixelSize",
                        "value": "true"
                      },
                      {
                        "name": "SizeY",
                        "value": "rb"
                      }
                    ]
                  },
                  {
                    "Name": "text22",
                    "Type": "Text2D",
                    "Properties": [
                      {
                        "name": "X",
                        "value": "betaX"
                      },
                      {
                        "name": "Y",
                        "value": "betaY"
                      },
                      {
                        "name": "Text",
                        "value": "\"-\""
                      },
                      {
                        "name": "Visibility",
                        "value": "displayBeta&&displayBeta2"
                      }
                    ]
                  },
                  {
                    "Name": "gamma",
                    "Type": "Group2D",
                    "Expanded": "true",
                    "Properties": [],
                    "Children": [
                      {
                        "Name": "wavephoto",
                        "Type": "AnalyticCurve2D",
                        "Properties": [
                          {
                            "name": "FunctionY",
                            "value": "_view._format(A,\"0.00\")+\"*sin(\"+ _view._format(w,\"0.000\") + \"*\" + _view._format(t,\"0.000\") + \"-\" + _view._format(k,\"5.000\") + \"*x)\" "
                          },
                          {
                            "name": "FunctionX",
                            "value": "\"x\""
                          },
                          {
                            "name": "Minimum",
                            "value": "-25"
                          },
                          {
                            "name": "Maximum",
                            "value": "paperX+length/2"
                          },
                          {
                            "name": "Variable",
                            "value": "\"x\""
                          },
                          {
                            "name": "LineColor",
                            "value": "\"Red\""
                          },
                          {
                            "name": "Y",
                            "value": "gammaY"
                          },
                          {
                            "name": "Visibility",
                            "value": "displayGamma"
                          },
                          {
                            "name": "LineWidth",
                            "value": "3"
                          }
                        ]
                      },
                      {
                        "Name": "wavephoto2",
                        "Type": "AnalyticCurve2D",
                        "Properties": [
                          {
                            "name": "FunctionY",
                            "value": "_view._format(A,\"0.00\")+\"*sin(\"+ _view._format(w,\"0.000\") + \"*\" + _view._format(t,\"0.000\") + \"-\" + _view._format(k,\"5.000\") + \"*x)\" "
                          },
                          {
                            "name": "FunctionX",
                            "value": "\"x\""
                          },
                          {
                            "name": "Maximum",
                            "value": "alX+length/2"
                          },
                          {
                            "name": "Minimum",
                            "value": "displayPaper?paperX+length+paperthick:paperX+length/2"
                          },
                          {
                            "name": "Variable",
                            "value": "\"x\""
                          },
                          {
                            "name": "LineColor",
                            "value": "\"Red\""
                          },
                          {
                            "name": "Y",
                            "value": "gammaY"
                          },
                          {
                            "name": "Visibility",
                            "value": "displayGamma"
                          },
                          {
                            "name": "LineWidth",
                            "value": "3"
                          }
                        ]
                      },
                      {
                        "Name": "wavephoto3",
                        "Type": "AnalyticCurve2D",
                        "Properties": [
                          {
                            "name": "FunctionY",
                            "value": "_view._format(A,\"0.00\")+\"*sin(\"+ _view._format(w,\"0.000\") + \"*\" + _view._format(t,\"0.000\") + \"-\" + _view._format(k,\"5.000\") + \"*x)\" "
                          },
                          {
                            "name": "FunctionX",
                            "value": "\"x\""
                          },
                          {
                            "name": "Minimum",
                            "value": "displayAl?althick+length/4:-length/4"
                          },
                          {
                            "name": "Maximum",
                            "value": "pbX+length/2"
                          },
                          {
                            "name": "Variable",
                            "value": "\"x\""
                          },
                          {
                            "name": "LineColor",
                            "value": "\"Red\""
                          },
                          {
                            "name": "Y",
                            "value": "gammaY"
                          },
                          {
                            "name": "Visibility",
                            "value": "displayGamma"
                          },
                          {
                            "name": "LineWidth",
                            "value": "3"
                          }
                        ]
                      },
                      {
                        "Name": "wavephoto4",
                        "Type": "AnalyticCurve2D",
                        "Properties": [
                          {
                            "name": "FunctionY",
                            "value": "_view._format(A2,\"0.00\")+\"*sin(\"+ _view._format(w,\"0.000\") + \"*\" + _view._format(t,\"0.000\") + \"-\" + _view._format(k,\"0.000\") + \"*x)\" "
                          },
                          {
                            "name": "FunctionX",
                            "value": "\"x\""
                          },
                          {
                            "name": "Minimum",
                            "value": "displayPb?pbthick+length/2:0"
                          },
                          {
                            "name": "Maximum",
                            "value": "25"
                          },
                          {
                            "name": "Variable",
                            "value": "\"x\""
                          },
                          {
                            "name": "LineColor",
                            "value": "\"red\""
                          },
                          {
                            "name": "X",
                            "value": "pbX+length/2"
                          },
                          {
                            "name": "Y",
                            "value": "gammaY"
                          },
                          {
                            "name": "Visibility",
                            "value": "displayGamma"
                          },
                          {
                            "name": "LineWidth",
                            "value": "3"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "Name": "html",
            "Type": "Panel",
            "Properties": [
              {
                "name": "Html",
                "value": "<h2>Penetrating Abilities of Radioactive Emissions Simulation</h2>\n <h2>Video Explanation</h2>\n  <p>You can watch a video explanation here:</p>\n\n  <iframe width=\"560\" height=\"315\" \n    src=\"https://www.youtube.com/embed/3t4b-inELNg?si=uHFLcbggZVyuh_cZ\" \n    title=\"YouTube video player\" frameborder=\"0\" \n    allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" \n    referrerpolicy=\"strict-origin-when-cross-origin\" \n    allowfullscreen>\n  </iframe>\n\n  <p>\n    Or open it directly on YouTube: \n    <a href=\"https://www.youtube.com/watch?v=3t4b-inELNg\" target=\"_blank\" rel=\"noopener\">\n      https://www.youtube.com/watch?v=3t4b-inELNg\n    </a>\n  </p>\n  <p>\n    Radioactive emissions are a type of energy that is emitted by certain unstable isotopes of elements. \n    These emissions can be harmful to living organisms and can penetrate different materials to varying degrees. \n    Studying the penetrating abilities of these emissions is important in understanding their potential effects \n    on human health and the environment.\n  </p>\n\n  <p>\n    One way to study the penetrating abilities of radioactive emissions is through simulation. \n    A simulation is a computer program that models a real-world scenario, allowing scientists to explore the \n    effects of different variables in a controlled environment. In this blog, we will explore a simulation that \n    focuses on the penetrating abilities of radioactive emissions.\n  </p>\n\n  <p>\n    The simulation begins with 3 sources of radioactive emissions that emit particles in all directions. \n    For simplicity, we will only look at the one direction to the right of the screen. The user can turn on/off \n    the type of particle being emitted, such as alpha, beta, or gamma particles. The simulation then shows how \n    these particles interact with different materials, such as paper, aluminium or lead.\n  </p>\n\n  <p>\n    One of the key features of the simulation is the ability to adjust the thickness of the materials being used. \n    This allows the user to see how different materials affect the ability of the particles to penetrate through them. \n    For example, gamma particles are highly penetrating and can travel through thick layers of material, while alpha \n    particles are less penetrating and can be stopped by a sheet of paper.\n  </p>\n\n  <p>\n    Another important feature of the simulation is the ability to view the particles in different situations \n    (with/without paper, aluminium or lead.) The user can choose to view the particles as they move through the \n    materials, or as they interact with atoms in the material. This allows for a deeper understanding of the \n    mechanisms by which the particles interact with matter.\n  </p>\n\n  <p>\n    The simulation also includes a visualization that allows the user to see the amount of radiation absorbed by a material.\n  </p>\n\n  <p>\n    Overall, the penetrating abilities of radioactive emissions simulation is a powerful tool for exploring the effects \n    of radioactive emissions on the environment and human health. By allowing users to adjust the variables and observe \n    the results in real-time, the simulation provides a flexible and interactive way to study this important topic.\n  </p>"
              }
            ]
          }
        ]
      }
    ],
    "RootProperties": []
  },
  "metadata": {
    "APP": "WebEJS",
    "CreatedWith": "WebEJS : The web version of Easy JavaScript Simulations",
    "MoreInfo": "WebEJS 1.2",
    "version": "https://www.um.es/fem/wikis/webejs/"
  }
}