Tools, Utilities, Games, and Simulations

to be used with Runtime Revolution

(To download the raw data files: Control click, or use, go url "http:// theGivenLink" in the Rev msg box. Otherwise, just click on the binary files.)

These stacks all presume that you have a copy of the application Runtime Revolution.
You will find an evaluation edition at http://www.runrev.com/index_uk.html


Turtle Graphics

A collection of drawing tools. Perhaps best understood by looking at the TG vocabulary.

Turtle graphics: This is the fastest, and most stable version. It draws with the pencil.

Control turtles: This is used to do for controls what "Turtle graphics" does for the cursor. It allows you to issue graphic commands to any control, button, field, graphic, or image. It uses vector graphics.

Tell turtles: Provides multiple turtles. Also draws with vector graphics.

Programming for science students. This text is not intended for those interested in a traditional computer science course. This is the sort of course which might be used to introduce science student to the basic tools in programming. It makes extensive use of Turtle Graphics, first on the theory that it allows for more interesting feedback to the beginning programmer, and secondly, it is a useful tool in generating graphic output of scientific results.This is a MS Word document.I am a retired physics professor, and, as you might imagine, many of the applications are related to my field of interest.It is based on a book I wrote some years ago titled: Turtle Physics. Caveat: It has not been field tested.


Utilities

Bezier Line (New and improved) This is a plug-in allowing you to paste a bezier line onto any card of any stack. It is the normal bezier curve you are probably familiar with, line and tangent controls. The line controls may be either corner points or continuous tangent points. The control points are made invisible by double clicking on the bezier line. (This gives you a single line with any shape compatible with the cubic parametric expansion of curve's function.) Double clicking again brings the control points back. It is self-contained. All handlers are in the control points and the bezier line itself. I have added the ability to remove all the bezier control and their scipts, thus reducing the overhead. It might reduce the size of your stack by 100 K or more. (In the compact version, you will have a choice of saving the bezier curve as an open line graphic or a closed polygon graphic.) A more compact version (40 K verser 180 K) of this plug in also available. (Acknowledgement: This is a extension of the very clever bezier stack of Alejandro Tejada, at http://www.geocities.com/capellan2000/ )

Pointer tool: (New and improved) The purpose of this plugin is to allow users to identify an object in the window with a particular word in a text field. For example, if the text refers to an image of a person's spleen, then as the mouse passes over the highlighted word "spleen" (colored blue and underlined to identify words that are linked to objects), then a hand (finger) would point to the spleen in the figure. It is useful in any stack where it is helpful to identify screen components. First, check out the example stack--see "Example" button.

Colliding polygons: Determines when any two polygon graphics intersect.

Typing superscripts and subscripts: Can greatly speed the typing of equations with a large number of super and subscripted variables. Type: x~1^2 results in x sub 1, super 2. For the plug-in version download SupAndSub.

 

Manning Calculator Manning's equation allows one to predict how water flows in open channels. Given the coefficient of friction, the slope, the cross-sectional area and the wetted perimeter, one may calculate the water velocity, and from that the flow rate--volume per second. My interest in this arose from a local environmental issue. The local irrigation district was about to abandon or severely reduce the flow in a cherished neighborhood canal. One question was the expected water depth in the canal at various flow rates. This is a good example of the application of Bezier curves in Runtime Revolution.

 


Games

CryptDivision.: Randomly chooses a 4 digit number and divides it into a 7 digit number. The result is encrypted and presented for you to decode. (This is the Mac version; for the Windows version download CryptDivisionCourier.rev)

Florida Ballot: What the Florida ballot might have looked like if a touch screen ballot had been used.

Cryptogram decoder: This is a utility for decoding cryptograms. For example if the encrypted word were ABCDBA and one knew that the letter C stood for the letter s then one would enter into the decoder: 12s*21. The decoder recognizes numbers as stand-ins for like letters, and the letter s for a known letter, and the asterisk for some unknown letter. The decoder shows, "gasbag" and "museum" as possible candidates for ABCDDBA where C stands for s.

Word tools:  A small collection of tools useful in word games:


Miscellaneous

(These are all binary files.)

Networks

In reading the book "Linked" by Albert-Laszlo Barabasi, I was startled by the statement: "When you add enough links such that each node has an average of one link, a miracle happens: A unique giant cluster emerges," a linked network evolves. This is a reference to a theorem of Paul Erdos on the theory of random graphs. Take N nodes; add N links between nodes; chances are that all the nodes are linked to one another. This stack was my attempt to verify this theorem.

The Web is such a graph, a collection of web pages linked together. Other examples are the brain, a crystal, a body of cells, and group of acquaintances.

There are five interactive applications that complement the book "A Paradox in Time."

A Paradox in Time (Mac)

A Paradox in Time (Windows)

1) The law of large numbers (actually a variant thereof) demonstrates the fact that for systems with a large number of components, there is one macrostate which is overwhelmingly more probable than any other at the given energy, volume and particle numbers.

2) This a simple experiment to demonstrate Newton's thinking in linking the motion of a projectile here on earth and the motion of the moon about the earth and the planets about the sun.

3) Temperature is defined as the reciprocal of the slope of the entropy vs. energy curve. This application shows that that is not as ridiculous a definition as it sounds.

4) Time asymmetry paradox: This application demonstrates how a system, composed of elementary particles that behave symmetrically in time, will behave asymmetrically in time.

5) A rainbow paradox: Red light shinning on a raindrop is reflected as a cone of light. How do these conical beams produce the red bow in the rainbow? And why are the colors of the red, orange, green and blue cones separated to produce the colors of the rainbow?

Temperature

DisplayProblems.rev

Report problems to jhurley@infs.net

This page last updated May 24, 2004