Download presentation
Presentation is loading. Please wait.
Published byDwain Beverly Short Modified over 9 years ago
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");
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");
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");
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.