I wrote a script to divide a 'Plane' into N Pieces and then Parented each Piece to a specific Lipid (3D model with van der waal surface). Then I use face duplication to populate each face with it's Child. The Final Plane will then look like below:
I did many tricks to make this patch a random so that they do not look like lined up in a linear fashion.
Now, I find some small spaces which I do not want between them.
Is there any way to add these Lipids tightly (as close as much they can - but with collision - each objects must not ram in each other) placed/packed in a defined area using Python?
Actually, I want to animate them like Molecular dynamics - So, a little wobbling motion will work for me.
How can I add objects in a defined area which are tightly packed in it?