Jump to content
danvenn

Distributing points on a line according to a ramp density.

Recommended Posts

5fde632f7c14a_Artboard1.jpg.3f45fae4d222c2da53b083d6fe5cdba5.jpg

Is there a way to distribute points on a line according to a ramp's density?
I'm aware of the scatter node's density input , but that uses a random sample which isn't ideal for my use case.

Share this post


Link to post
Share on other sites
10 hours ago, Aizatulin said:

Hi,

here is a modification of an older file, which contains an numerical approach to calculate the inverse of the integral of a density function. I'm also looking for a better straightforward approach.

line_density_approach.hipnc

Thanks this is perfect - quite involved as you say. Something that can be turned into a HDA though. A good excuse to brush up on my calculus :)

2 hours ago, Librarian said:

Use Chops
@symek Posted this longtime Ago ..maybe it can be Modified Better for this Purpose :wub:
 

resample_chopOdforce.hiplc

pointdistffsss.jpg

Thanks for this, could you explain a little how this works? Struggling to make sense of it as I'm not often using CHOPs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×