1. Virtual Laboratories
  2. Object Library

Object Library

The programmatic objects in this project are designed, to the extent possible, so that they can be re-used in other projects and modified if necessary. This object library contains descriptions of these objects and instructions for downloading and using them.

  1. Overview of the Applets
  2. Core JavaScript Files
  3. HTML and Special JavaScript Files
  4. Images
  5. Style Sheets
  6. Navigation JavaScript Files

Overview of the Applets

The applets in this project are small, self-contained programs that run in web pages. They are intended to illustrate concepts and techniques from probability and statistics in an interactive, dynamic way.

The applets in the library contain no explicit mathematical exposition and thus can be used by students at various levels (with appropriate guidance from the instructor). The applets are intended to be small micro worlds where students can run virtual versions of random experiments and play virtual versions of statistical games. Read the applet instructions for more information about the applets, including the graphical user interface.

The applets in this project are constructed using HTML 5 technologies, specifically JavaScript, the HTML 5 Canvas element and enhanced form elements. To download an applet for use in your own website, you need the following:

Core JavaScript Files

The JavaScript code is constructed in an object-oriented way, so that the objects can be modified and reused. The core JavaScript files are

HTML and Special JavaScript Files

The following is a list of all of the JavaScript-based applets in this project. Each item in the list contains a link to the applet page. Use your browser's view source command to explore and save the HTML file. Each item in the list below also contains a link to the special JavaScript file for the applet

Images

The core images used in all applets are

The specialized images are

CSS Style Sheets

We have tried to implement the best practice of separating content from presentation, through the use of Cascading Style Sheets (CSS). The CSS language is a standard of the World Wide Web Consortium (W3C).

We use JavaScript to create and launch ancillary pages (small, pop-up pages without the browser toolbar or menu bar), and to navigate between ancillary pages and the main page.