crystal

polygons moving according to plane group rules
Jouk Jansen
1997

History 01-Nov-2000: Allocation checks
03-Dec-1998: Random inversion of y-axis included to simulate hexagonal
groups with an angle of 60 degrees.
10-Sep-1998: new colour scheme
24-Feb-1998: added option centre which turns on/off forcing the centre of
the screen to be used
added option maxsize which forces the dimensions to be chosen
in such a way that the largest possible part of the screen is
used
When only one unit cell is drawn, it is chosen at random
18-Feb-1998: added support for negative numbers with -nx and -ny meaning
random choice with given maximum
added +/-grid option. If -cell is specified this option
determines if one or all unit cells are drawn.
-batchcount is now a parameter for all the objects on the
screen instead of the number of unique objects
The maximum size of the objects now scales with the part
of the screen used.
fixed size problem. Now very small non-visable objects
are not allowed
13-Feb-1998: randomized the unit cell size
runtime options -/+cell (turn on/off unit cell drawing)
-nx num (number of translational symmetries in x-direction
-ny num (idem y-direction but ignored for square and
hexagonal space groups
i.e. try xlock -mode crystal -nx 3 -ny 2
Fullrandom overrules the -/+cell option.
05-Feb-1998: Revision + bug repairs
shows unit cell
use part of the screen for unit cell
in hexagonal and square groups a&b axis forced to be equal
cell angle for oblique groups randomly chosen between 60 and 120
bugs solved: planegroups with cell angles <> 90.0 now work
properly
19-Sep-1997: Added remaining hexagonal groups
12-Jun-1997: Created