Code center > Suggestions
More realistic mutations
Numsgil:
It's a little too piecemeal for my tastes. We want a continuous function that takes a single input.
Here's an article on using calculus to get more realistic distribution patterns.
That's the kind of techniques I'd use to find a good gaussian curve generator.
Botsareus:
ok , if you can give me better [you]vb[/you] code then I already posted , go ahead:
---
But (I think) you do agree that applying more advanced number generation Techniques is the solution to the following problem:
Endy:
--- Quote ---Any way to "normalize" the numbers that mutations come up with?
--- End quote ---
---
I will try to make some heads-or-tails(figure out) of that Calculus generating galaxies link
Numsgil:
It's pretty heavy math when it explains it, so if you don't know basic integral calculus it won't make any sense.
Give me the night. I'll come up with a gaussian curve in the morning.
Botsareus:
We dont really need a perfict curve here , I think my:
Choose(Int(Rnd * 3) + 1, Int(Rnd * 10), Int(Rnd * 255), Int(Rnd * 20000)) * _
((Int(Rnd * 2) * 2) - 1)
gets the job done. If we plot it , will look more like a step latter though.
PurpleYouko:
I hate calculating gausian curves :angry:
:unsure: PY :unsure:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version