Vote for BP.Net for the 2013 Forum of the Year! Click here for more info.

» Site Navigation

» Home
 > FAQ

» Online Users: 623

2 members and 621 guests
Most users ever online was 47,180, 07-16-2025 at 05:30 PM.

» Today's Birthdays

None

» Stats

Members: 75,909
Threads: 249,108
Posts: 2,572,136
Top Poster: JLC (31,651)
Welcome to our newest member, KoreyBuchanan
  • 01-12-2011, 08:51 PM
    OhhWatALoser
    So what is the math behind a punnet square?
    So I was playing around with some thing today, and was attempting to make a punnet square calc. but for the life of me, I can't figure out the math behind it, i only took up to high school trig tho lol.

    I can do them on paper easily, but when it comes to make the computer understand what I want, I'm at a lost.
  • 01-13-2011, 06:43 AM
    thb
    Re: So what is the math behind a punnet square?
    I have made the genetic wizard on www.worldofballpythons.com/wizard/ and to play with the genetics that way wasnt an easy task. (not for me anyways)

    The first version took me about 30 hours to make...

    Now the second version is only and I havent got all the genetic rules incorporated yet, because of some genes that acts crazy when mixing.
  • 01-13-2011, 02:19 PM
    OhhWatALoser
    yea, also it doesn't add %'s which really bothers me lol, other than that its great. I just wanted to expand on it, add rules, add %'s, have it so you can type in the morphs, not have to scroll through them. Your wizard is by far the most recommended tho, I'd personally like a different layout, so thats what i'm doing.

    well I came up with a method today, going to attempt to make it work, We shall see.

    Edit guess yours adds %'s now, you've made an update since I last played with it
  • 01-13-2011, 04:49 PM
    anthonym
    Re: So what is the math behind a punnet square?
    I would assume its just simple Matrix calculations. What language are you writing this in? Search for a Matrix library for your language of choice and read the docs for it.
  • 01-14-2011, 03:52 AM
    thb
    Re: So what is the math behind a punnet square?
    Quote:

    Originally Posted by OhhWatALoser View Post
    yea, also it doesn't add %'s which really bothers me lol, other than that its great. I just wanted to expand on it, add rules, add %'s, have it so you can type in the morphs, not have to scroll through them. Your wizard is by far the most recommended tho, I'd personally like a different layout, so thats what i'm doing.

    well I came up with a method today, going to attempt to make it work, We shall see.

    Edit guess yours adds %'s now, you've made an update since I last played with it

    It has had % in every version, this time its just better at adding the results together...

    Which design would you like to see ?

    Thomas
  • 01-14-2011, 08:50 AM
    j_h_smith
    Re: So what is the math behind a punnet square?
    Quote:

    Originally Posted by OhhWatALoser View Post
    So I was playing around with some thing today, and was attempting to make a punnet square calc. but for the life of me, I can't figure out the math behind it, i only took up to high school trig tho lol.

    I can do them on paper easily, but when it comes to make the computer understand what I want, I'm at a lost.

    I don't know anything about programming, i do believe this guy got it right. See what you think.

    http://geneticcalculator.traxxtec.de/en/rechner.aspx

    Realize there are a number of different snakes, just remember to click on Ball Python or you will go to corn snakes.

    Not a complete list, but better than anything I've seen so far. Seems to be accurate too.

    Jim Smith
  • 01-14-2011, 02:22 PM
    OhhWatALoser
    Re: So what is the math behind a punnet square?
    Quote:

    Originally Posted by thb View Post
    It has had % in every version, this time its just better at adding the results together...

    Which design would you like to see ?

    Thomas

    that was the part that really bothered me, but you fixed it. atleast for alot of them

    I like typing in things better than scrolling through a list
    like this one....http://www.geneticswizard.com/ its just a general calc tho, not made for snakes

    you notice yours crashes for some things, like breed a banana + something x banana + something or a zebra + something x zebra +something

    also zebra pastel says its a codom but when i breed zebra x zebra it spits out 25% normal/50% zebra/25%normal?

    Quote:

    Originally Posted by j_h_smith View Post
    I don't know anything about programming, i do believe this guy got it right. See what you think.

    http://geneticcalculator.traxxtec.de/en/rechner.aspx

    Realize there are a number of different snakes, just remember to click on Ball Python or you will go to corn snakes.

    Not a complete list, but better than anything I've seen so far. Seems to be accurate too.

    Jim Smith

    I already notice the german calc is missing "banana" is it outdated?
  • 01-14-2011, 07:29 PM
    alan1
    Re: So what is the math behind a punnet square?
    soo - if you can do them on paper, why not stick to it?

    i either: use my head, or pen and paper - can't be assed with those genetics sites - takes too long
    by the time you've found the site/typed in the info/etc - you could probably already have the answer on paper
    also - you'd have a written record of your findings, so shouldn't need to re-visit the site?
  • 01-14-2011, 07:53 PM
    OhhWatALoser
    Re: So what is the math behind a punnet square?
    Quote:

    Originally Posted by alan1 View Post
    soo - if you can do them on paper, why not stick to it?

    i either: use my head, or pen and paper - can't be assed with those genetics sites - takes too long
    by the time you've found the site/typed in the info/etc - you could probably already have the answer on paper
    also - you'd have a written record of your findings, so shouldn't need to re-visit the site?

    once you go past 3 genes, its faster to use the calc, im not drawing 64 boxes lol. personally, I can still do 3 in my head pretty fast, but not alot of people can. its nice to have a full layout calculated for you, nice a neat, no boxes to add up and all that.

    When you start doing super pastel/spider/pin/het hypo to a pastel/pin/hypo/black pastel, your looking at alot of time. lol
  • 01-15-2011, 05:21 PM
    thb
    None of the other calculation tools you have shown works better than World of Ball Pythons Genetic Wizard...

    geneticcalculator: small list of animals, and it doesnt work correct with dominant genes, and iam pretty sure that it would run into the same problems as ours with the crazy genes.

    geneticswizard: same problem as our with the crazy genes, and its has no list of animals, so I think its pretty hard to use.

    So we cant conclude that right there is no perfect calculator online for Balls ;)
Powered by vBadvanced CMPS v4.2.1