Chi-Squared also looks interesting.
Ron
clark slater wrote:
Hi Ron,
Thanks for jumping into this thread amongst the tumbleweeds. Yes, I
suspect
something logarithmic could work but don't know where to start. I am
trying
to distribute 1000 particles randomly in a rectangular distribution area,
with a bias towards one side of the rectangle.
Clark
On 5/26/06, Ron Wheeler <[EMAIL PROTECTED]> wrote:
Would a formula based on logarithms give you what you want as well?
You were not very specific about what you wanted the distribution to
look like.
Ron
clark slater wrote:
> Here I go answering my own question.
>
> To make it more dense toward the origin, use {x,y} = {random[]^2,
> random[]^2}--squaring the independently generated numbers
> (random[]*random[]
> won't work). The result is a distribution with a sharp cusp at the
> origin--the probability is a maximum there, and has a discontinuous
> derivative. You can use higher powers for narrower (and sharper)
> distributions.
>
> Damn useful I say!
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com