hop

Calculate and display an aggregating particle

Authored and Contributed by
Ronald Joe Record
Restrictions
Copyright 1993, 1994 Ronald Joe Record
History
- created 30 Nov 1990 by Ron Record (rr@sco.com)
based upon an algorithm published in the Sep 86 Scientific American
- added arguments to select between sqrt(), sin(), log(), and linear
functions (original was sqrt()).
- Rewritten using X11 19 Apr 1993 by Ron Record (rr@sco.com)
Description
Hop uses a system of parametric equations to iterate a point in the plane. The color of the point is incremented every "period" points displayed or, if you have selected the histogram option, the color is computed from the number of times that pixel has been "hit".
Build
To build the hop binary, either use the Imakefile or the sample makefile, Makefile.std. After modifying the Imakefile appropriately, either use "xmkmf" or "imake" to create a Makefile. Then just type "make" to compile hop. The manual page can be formatted by typing "nroff -man hop.man > hop.6X".
Install
To install hop, copy the hop binary to the desired location (the sample makefile puts it in /usr/games/X11) Copy the formatted man page to wherever you keep your local doc (i use /usr/games/X11/doc for games and imaging software), then add that location to your MANPATH.
Productivity
None
Safety
I have used this for years without harm.
Work Planned
None
Documentation
manual page.
Verification
Try running hop with no arguments. It should display a doily kind of pattern on the screen.
Feedback
Ideas, comments, additions, deletions, suggestions, bug reports, code review,... e-mail Ronald Record at rr@sco.com or ...uunet!sco!rr.