After years of working with Max I'm finally spending some time to wrap my head around maxscript. This was a simple test in circle packing. Instead of dart throwing, to see if a circle is placed with no collisions, here I'm creating N# circles within a bounding volume and then moving them so there are no overlaps. Its brute force and slow but it certainly does the job. Id like to extend the script past this little testbed and get it working faster and on arbitrary geometry but those are no small feats.
Update: Re compressed it for a bit better quality.
Also here is a copy of the script if you are interested. pastebin.com/i6Tb4MAu
Loading more stuff…
Hmm…it looks like things are taking a while to load. Try again?