algorithmic modeling for Rhino
Dear All,
I am wondering how I can do a circle packing initiated by attractors (pts/crvs).
I did a test one from a static grid and the circle sizes are controlled by the attractors. Then they would be packed. However, it is not exactly what I want to achieve. I also found a vb component from this forum, which does sort of the job but not completely.
I want to achieve something as the image I attached but fully packed within the boundary.
I have an idea that:
points could be emitted from the attractors, either points or curves, and circles will be created using these points as centroids. The further the emitted points, the bigger the circle will be. Then once the circles reach the boundaries they would bounce back.
I think in this way, after certain iterations, there might be a approximate solution that I am looking for.
However, I don't really know how to script this fully. I need some help here! Please!
Best,
Yu
Tags:
Seems like a good application for dynamic remeshing with Plankton! There's a very early C# script kicking about that Daniel Piker wrote that will handle this type of problem nicely [1]. It might be a little rough around the edges but have a read through the comments and some of the related discussions [2]. You'll need the latest version of Kangaroo (0.096) which includes Plankton 0.3.0.
[1]: http://www.grasshopper3d.com/group/plankton/forum/topics/dynamic-re...
[2]: http://www.grasshopper3d.com/xn/detail/2985220:Comment:902302
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by