From: Daniel Carrera Date: 2003-05-04T10:54:01+09:00 Subject: Re: "Collage" of images -- more pychological randomness The problem you wrote seems fairly specific -- you gave the size of the grid and images. Are you interested in the specific solution for this problem, or a generic solution for generic grids and generic image sizes? > ok = false > begin > x,y = grid.randxy(4) > ok = grid.place(x,y,4,"A") > end until ok Is there any reason why you want the position of the 4x4 image randomized? Why can't it be (0,0) every time? Cheers, -- Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137