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

» Site Navigation

» Home
 > FAQ

» Online Users: 724

0 members and 724 guests
No Members online
Most users ever online was 47,180, 07-16-2025 at 05:30 PM.

» Today's Birthdays

None

» Stats

Members: 75,908
Threads: 249,107
Posts: 2,572,126
Top Poster: JLC (31,651)
Welcome to our newest member, KoreyBuchanan
Page 1 of 6 123456 LastLast
Results 1 to 10 of 54
  1. #1
    BPnet Royalty OhhWatALoser's Avatar
    Join Date
    07-28-2007
    Location
    Suburbs of Detroit
    Posts
    4,986
    Thanks
    530
    Thanked 2,721 Times in 1,477 Posts
    Images: 2

    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.

  2. #2
    Registered User thb's Avatar
    Join Date
    09-04-2008
    Posts
    79
    Thanks
    7
    Thanked 14 Times in 7 Posts

    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.

  3. #3
    BPnet Royalty OhhWatALoser's Avatar
    Join Date
    07-28-2007
    Location
    Suburbs of Detroit
    Posts
    4,986
    Thanks
    530
    Thanked 2,721 Times in 1,477 Posts
    Images: 2
    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
    Last edited by OhhWatALoser; 01-13-2011 at 02:27 PM.

  4. #4
    BPnet Veteran anthonym's Avatar
    Join Date
    11-11-2009
    Location
    Oakland, CA
    Posts
    238
    Thanks
    40
    Thanked 72 Times in 49 Posts
    Images: 2

    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.
    http://www.dtors.org
    1.0.0 Eunectes murinus (Green Anaconda)
    0.1.0 Morelia viridis (GTP Manokwari Local)
    2.1.0 Python curtus brongersmai (Blood Python)
    2.1.0 Heterodon nasicus (Western Hognose)
    0.0.1 Ahaetulla prasina (Asian Vine Snake)
    1.1.0 Hydrodynastes gigas (False Water Cobra)
    1.1.0 Crotalus atrox (T+ & T- Albino Western Diamondback Rattlesnake)
    0.0.2 Crotalus oreganus (Northern Pacific Rattlesnake)
    0.2.1 Crotalus cerastes cerastes (Mojave Sidewinder)

  5. #5
    Registered User thb's Avatar
    Join Date
    09-04-2008
    Posts
    79
    Thanks
    7
    Thanked 14 Times in 7 Posts

    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

  6. #6
    BPnet Veteran j_h_smith's Avatar
    Join Date
    12-02-2009
    Location
    Maryland
    Posts
    3,007
    Thanks
    234
    Thanked 567 Times in 449 Posts
    Images: 3

    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

  7. #7
    BPnet Royalty OhhWatALoser's Avatar
    Join Date
    07-28-2007
    Location
    Suburbs of Detroit
    Posts
    4,986
    Thanks
    530
    Thanked 2,721 Times in 1,477 Posts
    Images: 2

    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?
    Last edited by OhhWatALoser; 01-14-2011 at 02:23 PM.

  8. #8
    BPnet Veteran alan1's Avatar
    Join Date
    01-31-2010
    Location
    on a crowded island
    Posts
    463
    Thanks
    64
    Thanked 113 Times in 95 Posts
    Images: 9

    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?
    Last edited by alan1; 01-14-2011 at 07:29 PM.

  9. #9
    BPnet Royalty OhhWatALoser's Avatar
    Join Date
    07-28-2007
    Location
    Suburbs of Detroit
    Posts
    4,986
    Thanks
    530
    Thanked 2,721 Times in 1,477 Posts
    Images: 2

    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

  10. #10
    Registered User thb's Avatar
    Join Date
    09-04-2008
    Posts
    79
    Thanks
    7
    Thanked 14 Times in 7 Posts
    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
    Last edited by thb; 01-15-2011 at 05:21 PM.

Page 1 of 6 123456 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.2.1