Presentation is loading. Please wait.

Presentation is loading. Please wait.

// This macro draws 25 random dots on the active // image in the current foreground color. dotSize = 25; width = getWidth(); height = getHeight(); for.

Similar presentations


Presentation on theme: "// This macro draws 25 random dots on the active // image in the current foreground color. dotSize = 25; width = getWidth(); height = getHeight(); for."— Presentation transcript:

1 // This macro draws 25 random dots on the active // image in the current foreground color. dotSize = 25; width = getWidth(); height = getHeight(); for (i=0; i<25; i++) { x = random()*width-dotSize/2; y = random()*height-dotSize/2; makeOval(x, y, dotSize, dotSize); run("Fill"); } run("Select None");

2

3 // This macro draws 25 random dots on the active // image in the current foreground color. dotSize = 25; width = getWidth(); height = getHeight(); for (i=0; i<50; i++) { x = random()*width-dotSize/2; y = random()*height-dotSize/2; makeOval(x, y, dotSize, dotSize); run("Fill"); } run("Select None");

4

5 // This macro draws 25 random dots on the active // image in the current foreground color. dotSize = 50; width = getWidth(); height = getHeight(); for (i=0; i<25; i++) { x = random()*width-dotSize/2; y = random()*height-dotSize/2; makeOval(x, y, dotSize, dotSize); run("Fill"); } run("Select None");

6


Download ppt "// This macro draws 25 random dots on the active // image in the current foreground color. dotSize = 25; width = getWidth(); height = getHeight(); for."

Similar presentations


Ads by Google