Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: PhET simulations.
- 1 PhET
- 2 What does PhET stand for?
- 3 Downloading the code for one PhET simulation
- 4 Embedding a PhET simulation in a Moodle Page
- 5 Can you embed PhET code in the Moodle Quiz?
- 6 Embedding a PhET simulation in a Moodle question
- 7 Is there a list of PhET simulations that run well with Moodle?
PhET is a site for interactive simulations for science (physics, biology, chemistry, Earth sciences) and math at elementary, middle school, high school and University levels, from the University of Colorado at Boulder, USA, that provides fun, free, interactive, research-based science and mathematics simulations. The simulations are written in Java, Flash or HTML5, and can be run online or downloaded to your (Moodle server) computer. All simulations are open source.
What does PhET stand for?
The name "PhET" was originally an acronym for "Physics Education Technology" but the PhET site now includes simulations about many other subjects besides physics, so the acronym is too limited. The PhET team decided to keep the name because it is so widely recognized.
Downloading the code for one PhET simulation
- Download the code from the PhET site.
- Note that some simulations that were written in Flash will need to have the multimedia plugins filter enabled in the Moodle server, which some servers admins will not allow for security reason. Remember that running Flash code in Macs and iPads can be tricky.
- Simulations written in Java or HTML5 can usually run well in modern Moodle servers and in most modern user's devices and browser.
- You can browse and do some minor editing of the downloaded simulation code in an editor such as Notepad ++ easier than in the Moodle Text editor.
Embedding a PhET simulation in a Moodle Page
Can you embed PhET code in the Moodle Quiz?
According to this post, Tim Hunt tried this (with the balancing act SIM), with these results:
- At first it did not work, because his test Moodle site is running on https, and the embed code has http://, so it gets blocked by browser security settings.
- However, editing the URL in the embed code to be https, then it worked.
Embedding a simulation in a quiz
You can either:
- have the students first interact with the simulation embedded in a Page (see Embedding a PhET simulation in a Moodle Page) and take a quiz later.
- embed the simulation in a description question type (see below) prior to asking the relevant questions with the usual question types.
Embedding a PhET simulation in a Moodle question
When you click the 'Save changes' button, the simulation code will be saved and you can see the preview when you edit the question: