Formal Statement of Project 2 Draft 1 May 96 Interactive visualization of a 4-dimensional object using tcl/tk. The object will be given as a function w = f(x, y, z) and the variables x, y and z will have range 0.0 - 1.0. There will be three viewports which each will have a 2-dimensional graph, looking something like +--+ +--+ +--+ | | | | | | | | | | | | +--+ +--+ +--+ x= y= z= Each viewport will be a plot of the 2-dimensional cross-section of the w vs the co-ordinate below the viewport, holding the other two variables fixed. So if the values of x0, y0 and z0 are the values below the viewport (these are text entry fields), then the graph in the first viewport is that of w = f ( x, y0, z0 ) where y0 and z0 are fixed. A mouse down event in the first viewport will move x0 to that value and hence re-plot the other two viewports (their cross-section will have changed.) The current value in each viewport will be identified by a cross hair that extends the width and height of the viewport. Example functions w = (x^2 + y^2 + z^2)/3 [Normalized so w is 0..1] w = sin ( pi x ) * sin ( pi y ) * sin ( pi z )