![]() Capt. Horatio T.P. Webb | Parks -- FALL 2000 Last Updated 12PM 10/3/2000 |
These four graph examples use a 1 pixel by 1 pixel gif image named g1.gif.
The examples below use this one pixel gif to create all graphs.
The pixel is red.
Here is the actual gif ---->
Here is the gif using: <img src="g1.gif" width="30" height="60" > ----->
We can exploit the img tag's height/width attributes in HTML to make graphics.
The examples are called "process generators." The objective is to generate processes (algorithms) based on particular random events. These simple algorithms utilize the random number generator built into VBScript (i.e., the function rnd). This mathematical function returns psuedo-random numbers between 0.0 and 1.0. From this basic uniform random number generator, we can construct various other random processes. This technique is used commonly in gaming and simulation.