[thelist] PHP algorithm help

Andy Warwick andy.w at creed.co.uk
Wed Sep 3 06:54:36 CDT 2003


On Wednesday, September 3, 2003, at 12:37 PM, RLivsey wrote:

> Andy Warwick wrote:
>
>> Hi
>> I figure I need some way to draw the grid row-by-row, generating the 
>> valid slots for each row depending on the position of the image in 
>> the row directly above.
>
> Hi Andy,
>
> The following when supplied with the length of the row, the minimum 
> seperation and the previous position, will return an array of valid 
> positions for the next row.
>

Just got back into office.

That's brilliant; many thanks.

-- 
Andy Warwick
Creed New Media Design
w: http://www.creed.co.uk



More information about the thelist mailing list