Grasshopper

algorithmic modeling for Rhino

Alright ladies and gents, I 've got one for you:

How can I take a point cloud and have it's density falloff as a result of it's proximity to attractors?

On first thought it seems one would make a very dense point cloud and the cull out rows or columns based on proximity to attractors. I'm not sure how to set up that logic to cull the points in a smooth gradient though.

Ideally the attractor points should exist as points along a curve so that I can control the grid density falloff by changing the "attractor curve".

See image for desired end result. I want to have a field of same size circles where the density of said circles fades away to an edge.

Thanks in advance for anyone willing to give me a hand with this.

Views: 5420

Replies to This Discussion

Try circle packing instead of using a point cloud. The packed circles determine the distance between the dots, and then you can draw a uniformely-sized dot in the center.

Hey Bennett - 

Javier's solution is a good one. You can also create a hyperdense field of random points, sort them according to position or other attractor logic, jitter the point order (with a jitter value somewhere between 0-1 - probably close to .5) and then take a subset.

Also check out this thread: http://www.grasshopper3d.com/forum/topics/image-sampler-point-density in particular the link to Daniel Piker's work with Lloyd's algorithm.

Thanks guys. Great stuff. Good to hear from you Andrew. Hope you're well.

did you ever figure out how to do this? I have the same problem.  Cant find any examples in which the circles are the same size

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service