requires("1.49a"); w = 512; w2 = w/2; newImage("Arrows", '8-bit random', w, w, 1); run('Spectrum'); getLut(reds, greens, blues); run('Grays'); styles = newArray("Filled Small", "Open Large", "Headless", "Bar", "Notched Large"); modifiers = newArray("", " Outline", " Double"); setFont("SanSerif", 18); for (i=0; i0) { strokeWidth = 5; inc = 16; } if (indexOf(style, "Double")>0) inc = 64; for (a=0; a<256; a=a+inc) { x1 = w2; y1 = w2; x2 = w2+w2*sin(2*PI*a/256); y2 = w2-w2*cos(2*PI*a/256); makeArrow(x1, y1, x2, y2, style); color = toHex(reds[a]<<16+greens[a]<<8+blues[a]); while (lengthOf(color)<6) color="0"+color; Roi.setStrokeColor(color); Roi.setStrokeWidth(strokeWidth); run("Add Selection..."); } }