Jump to content

Distribute Random Pscale not greater than area


Recommended Posts

I have a surface where points have been scattered uniformly and I would like to distribute the pscale in a random function but the sum of them will not overcome the area of the surface including a gap between them.

(pscale_sum + gap) <= area_sum [/CODE]

Any ideas?

Edited by cparliaros
Link to comment
Share on other sites

Interesting problem. What's the effect you're going to use it for?

My first impulse is to use those points and create a voronoi break up of the surface then use the pieces to control the pscale.

What's probably easier is to use the scatter's compute nearest 2 neighbors and then divide that by 2 for the pscale.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...