Home > Javascript Dynamix Plotter Animation


This demonstrates the power of modern day Javascript on both the Netscape and Internet Explorer browsers version 4.0 or greater. The Netscape 4.0 version uses layers and the IE version uses DHTML.

























You can enter an equation to create a new plot of y as a function of x using any javascript expression. Click on the example equations to plot them. Note: see the example below to avoid dividing by zero. Each green dot can contain and display any html that can be put into a DIV or layer. Currently, a single pixel clear gif is being used. A zoom function has also been implemented. The entire graph is being rendered for every frame of visible movement. Drawing a simple graph once is very quick.
Enter a function of x. Use Math functions of javascript when needed.

Functions
Math.sin(x)   (x==0)?1:1/Math.sin(x)
Math.abs(Math.sin(x*6)/x)   Math.sin(x*12)/x*.4
Zoom
1:1 1.5:1 2X
Home
Home


louis roehrs
Last modified: Sun Mar 31 21:59:16 -0800 2002