I have been playing around with 2D Hexagon and Polygon Patterns.
Is it possible to create a grid of 2D hexagons with each scaling via non uniform vertices? My thinking is that I could then control these via a series of attractor points. See attached image of the kind of thing I’m trying to create parametrically.
A different way to approach this could be as a mapping challenge -
So generate an isotropic hexagonal pattern, then make a pair of surfaces and adjust the isocurve spacing to the nonlinear one you want
Thank you, that is very helpful. Is it possible to change the hierarchal direction on the mapping method? On the mushroom the cells are large in the center and fan out to small. That sort of focal point is what I am after, thought maybe a variation of the Springs would work.
I was trying a Project method but still wrapping my head around the topology needed on both ends.
Regarding the Kangaroo springs, what is the best way to recover/reform the hexagons into closed polylines after Kangaroo deformation? After you’ve removed the duplicate lines that originally joined them? Joint curve has understandably chaotic results.
Yes - you can keep polylines as polylines in the output by passing them to the solver via a ‘Show’ component, and getting the corresponding branch of the output.
Here a simple example polylinesout.gh (10.2 KB)
You can also use this to pass through other geometry such as meshes, point collections etc
Starting point in K2… you can play about with the forces and strengths but it tends to crease and distort. You might be able to tweak it to get closer to your image target above?