About ModeMaker
In Brief: This program allows a user to specify a set of phases, each with a color, size, shape, and mode, and produces an image with those parameters.
Details: (note that every option in the Window has a help tag (tool tip) that provides information on its function
- Achieving the target modes. Although ideally one could create the particles to directly achieve the desired mode, in practice that would be extremely slow, computationally, and very difficult to program. I have instead chosen an iterative algorithm in which the first attempt typically does not achieve the desired mode, and later attempts either add or remove particles until the desired mode is achieved (for small refinements in which the addition or removal of a single particle would cause the mode to "jump
over" the desired mode, the algorithm will shrink or grow all particles by a small amount.
- Mode measurement. Although the mode could be explicitly measured, this would be computationally quite difficult. Instead the program measures modes via a "Monte Carlo" method, in which a large number of randomly chosen points are created. For each point it is determined in which phase (if any) the point is located. This leads to some statistical variation, especially because I have chosen a number of points that represents a trade-off between precision and computation time. It is for this reason that the values in the "measured mode" column will change slightly with repeated presses of the "create image" button.
Back to top