Teaching
107 F '08
 
Assignments
The Recipes
The Style
The Universe
The World
Subversion
Set 1
Set 2
Set 3
Set 4
Set 5
Set 6
Set 7
Set 8
Set 9
Set 10
Set 11

The Universe

logo

From Worlds to Universes (beta)

This page provides a first introduction to "universe" programming: the documentation, a first example, and the code for running the examples.
  1. universe.ss is the universe teachpack. It subsumes the world teachpack. Do not use both for one program.
  2. Documentation explains the universe teachpack, including the old world functionality. The first five sections are the current documentation of the world teachpack; the last three sections explain how the universe extends the world and provides new functionality. The very last section illustrates the universe teachpack with a fully worked example. The code for the example is listed in the next three bullets.
  3. balls.ss is the universe (server) for the "ball universe" from the last section in the documentation.
  4. carl.ss is one of the worlds from the example; and
  5. sam.ss is the other world.
Download all files and save them to the same directory. Open them in drscheme. Run the "balls universe" first; then run the "sam" and "carl" worlds. Sit back, relax, and watch the balls fly.

Oh and stop by for frequent updates of the universe.


last updated on Tue Jun 9 22:21:18 EDT 2009generated with PLT Scheme