"X-Ray Diffraction" is an educational simulation in HTML5, being developed by Todd Holden based on technology built by PhET Interactive Simulations at the University of Colorado Boulder. Some of the wording on this page is copied from the typical PhET README.md file.
Some day, this may become a real PhET, but for now, you can see it running at my prototype website for Spectroscopy Techniques. visit the simulation's current web page.
Click here to run "Wave Interference".
If you want to do something similar, you can check out some great resources from the PhET team. This isn't maintained as well as a normal PhET, but if something is broken, just message me though the github link. The PhET Development Overview is the most complete guide to PhET Simulation Development. This guide includes how to obtain simulation code and its dependencies, notes about architecture & design, how to test and build the sims, as well as other important information.
If you want to download and modify "X-ray Diffraction", do the following:
(1) Clone the simulation and its dependencies:
git clone https://github.com/phetsims/assert.git
git clone https://github.com/phetsims/axon.git
git clone https://github.com/phetsims/brand.git
git clone https://github.com/phetsims/chipper.git
git clone https://github.com/phetsims/dot.git
git clone https://github.com/phetsims/joist.git
git clone https://github.com/phetsims/kite.git
git clone https://github.com/phetsims/phet-core.git
git clone https://github.com/phetsims/phetcommon.git
git clone https://github.com/phetsims/phetmarks.git
git clone https://github.com/phetsims/query-string-machine.git
git clone https://github.com/phetsims/scenery.git
git clone https://github.com/phetsims/scenery-phet.git
git clone https://github.com/phetsims/sherpa.git
git clone https://github.com/phetsims/sun.git
git clone https://github.com/phetsims/tambo.git
git clone https://github.com/phetsims/tandem.git
git clone https://github.com/heldentodd/xray-diffraction.git
(2) Start an http-server
(3) Open http://localhost/xray-diffraction/xray-diffraction_en.html (You will probably need to modify this URL based on your HTTP port and relative path.)
Contact the PhET team at their Google Group: Developing Interactive Simulations in HTML5
Help me improve, create a New Issue
See the LICENSE