|
![](/i/fill.gif) |
JRG wrote:
>
> It looks really interesting to me, though rather complex.
> The macro I wrote is intended to serve my poor needs: I got bored placing
> every single object on a table (like in my last IRTC entry). So I just wrote
> a little (and extremely simple) script that places any objects (the number
> is unlimited) in a rectangle. The placing is absolutely random. So, if there
> are too many objects and too little space the computer spends a lot of time
> to find free spots. Because it just verifies, each time, if a random
> position doesn't touch any object already placed (and the obstacles as
> well).
> If anyone is interested in it, I can post it.
>
> Regards,
> Jonathan.
I wrote something to randomly pack boxes of identical size under a HF a
few months ago. I think I posted a picture too. Anybody interested?
--
__ __ __ __ _
| | / \ / / |_ / |/
\/\/ \__/ /_ /_ |__ \_ |\
Post a reply to this message
|
![](/i/fill.gif) |