Please note the following:
BEZIER SPLINE -
may (but doesn't have to) be extended to 4 segments
B-SPLINE -
may (but doesn't have to) be extended to 20 points
I fixed some bugs found in the single-segment applet.
Now you can set points very close to each other and even on the top of each other.
When one point is on the top of another, the attempt to move this "two-in-one" point will result in moving
the "oldest" point, based on the sequence in which the points were added to the applet.
Additional features:
Please move only INTERIOR points.
Do NOT move any points on the grid border.
I did not implement 3D B-spline: there are no points that 'belong' to the grid, so moving any of the points brings everything out of control.
Again, please don't move points which are on the grid's border.
The color is now changing depending on the distance from the grid plane. The original grid is blue; the color becomes lighter when moving farther from the grid.
The smoothness of color change depends on your video adapter.
AREA SAMPLE
In this applet you can only move two control points.
Only the area ABOVE the axis AND underneath the curve is colored.
SURFACE SAMPLE
There is ONLY ONE point you can move - the one which is already
above the surface when the applet starts.
POLYGON MESH SAMPLE
This is, what I, probably, had to start from.
The only problem is that the polygons are NOT flat.
Again, there is just one point for you to move.
Notice that all non-visible parts of the frame are white, while visible parts are blue.
Although you can move control points (red) in both applets, I do NOT recommend to do this in COLORED applet since it takes quite long time to recolor.
Last update: Nov.4, 1998
anna_mcp@msn.com