// Michael Cammer 20110428 // macro for ImageJ // This macro is a visual simulation only of microsclusters getting bigger at they move towards the center // of a cell. // It is for testing measurement macros. // A real simulation would keep track of increased numbers of molecules. //========================================================== // macro for simulating csmac formation macro "circle [q]" { run("Colors...", "foreground=cyan background=black selection=yellow"); newImage("Untitled", "32-bit black", 128, 128, 1); xc = getWidth() / 2; yc = getHeight() / 2; step = 2 * 3.1415 / 6; ya = getHeight() / 3; xa = ya; for (i=0; i