Search found 5 matches

by Askewnotion
Sat Jul 14, 2018 1:37 am
Forum: Ren'Py Questions and Announcements
Topic: More robust random number generator
Replies: 6
Views: 2611

Re: More robust random number generator

Quick set of code before before I head out to a conference this next week. I tried to post this earlier but the internet at my current location is spotty at best and kicked my upload a few times. The next set is a 2-for-1 in getting you distributions that you want weighed heavily in the extremes. Fo...
by Askewnotion
Fri Jul 13, 2018 9:00 pm
Forum: Ren'Py Questions and Announcements
Topic: More robust random number generator
Replies: 6
Views: 2611

Re: More robust random number generator

If you are reading this far down, congratulations! You are now officially a math nerd; welcome to the ranks! You may also be saying to yourself, "I really like the idea of that Beta distribution, but it is way too restrictive! I want to use decimal numbers and put in whatever I want. You're not...
by Askewnotion
Fri Jul 13, 2018 7:56 pm
Forum: Ren'Py Questions and Announcements
Topic: More robust random number generator
Replies: 6
Views: 2611

Re: More robust random number generator

Thanks for the input, Remix! I'm used to running my Python script on Anaconda, so I can usually go wild with my libraries. This is a new change of pace, and a welcome challenge. I think I'm just going to keep posting on this thread with various hacks to make different types of distributions for peop...
by Askewnotion
Wed Jul 11, 2018 12:33 am
Forum: Ren'Py Questions and Announcements
Topic: More robust random number generator
Replies: 6
Views: 2611

Re: More robust random number generator

Well, I got a little impatient and wrote some code so that computes a cdf for Beta probabilities. I'll include the code and some explanation. Hopefully this can help someone in the future. Also, if there is someway to implement LaTeX style equations in here that someone knows of, that would be aweso...
by Askewnotion
Mon Jul 09, 2018 5:26 pm
Forum: Ren'Py Questions and Announcements
Topic: More robust random number generator
Replies: 6
Views: 2611

More robust random number generator

Hi all! I've been looking into this script as a potential someone for VN have creation, but I'm a little lost on what scripting is available since I'm a more traditional Python user, with most of my work being done with numpy. I am looking for skills to be pulled from a beta distribution where there...