% Sea things.

% For reasons unknown to me, this doesn't look correct on most
% Indigo machines, but it does look correct on VGX and Impacts.
% See the manual or the KnotPlot Site for a pointer to a WWW
% page showing how they should look.

reset all                 % Start from a clean state.

silent = t                % Don't want to see all the output.
back = 0                  % Looks best on a black background.
zbuff f                   % Turn off z-buffering.
backface t                % Turn off backfacing polygon drawing.
blend one one             % Set blending for additive blending.
draw broke                % Draw broken surface.
ncur = 10 

cyl = 2
nseg = 3
broff = -1.28

load 8.2.1                % A nice link to start with.

twfix 23232               % The twisting value is arbitrary, try other values.

% The Sea Things button self-destructs when pressed, so provide a new button
% to replace it.  More Sea Things is exactly like Sea Things except a different
% two component link is loaded at random each time the button is pressed.

button 11 "More Sea Things"  <more-sea-things 5 255 45 15 

silent = f                % OK to see output now.

