Install the Energy2D App
Energy2D can be used in two ways: as a desktop app or as an embedded applet.
The desktop app is the full version of Energy2D, which is available for downloading in two ways: Install through a Web Installer or download the Java executable (energy2d.jar). The Web Installer is the preferred way to install the Energy2D app. However, the Web Installer will not work if you disable Java for your browser. In this case, you can download the Java executable (energy2d.jar). The Java executable (energy2d.jar) does not run within a browser but still needs Java in your operating system. It can be run by just double-clicking on it.
Deploy Energy2D Simulations Online
If you need to deploy the Energy2D applet on your own servers or embed it in your own online courses, download energy2d-applet.jar and copy the following HTML code:
<applet id="applet1" archive="energy2d-applet.jar" code="org.concord.energy2d.system.System2D" width="500" height="500">
<param name="script" value="load yourmodel.e2d;"/>
yourmodel.e2d is an Energy2D simulation you create and name using the desktop app.
You can download a sample
.e2d file from here
and use it to test your applet. You can arbitrarily adjust the width and height parameters in the above code to set the
size of the applet window. Energy2D will rescale to any size you set. Although the
applet tag is said to have been
deprecated, all major browsers still support it. And it is the easiest way to use an applet.
For the Energy2D applet to work, your school's computer networks must allow
files to go through your firewalls or antivirus systems.
License and Copyright
Although Energy2D is licensed to you under the GNU Lesser General Public License V3.0 (source code at https://svn.concord.org/svn/projects/trunk/common/java/simulations/Energy2D/), the license does not extend to the simulations you have created. Just like you own a document you wrote using Microsoft's Word, you own a simulation you designed using Energy2D. So feel free to distribute your simulations in the way you need.