» Site Navigation
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
» Stats
Members: 75,908
Threads: 249,107
Posts: 2,572,126
Top Poster: JLC (31,651)
|
-
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.
-
-
Registered User
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.
-
-
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.
-
-
BPnet Veteran
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)
-
-
Registered User
Re: So what is the math behind a punnet square?
 Originally Posted by 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
It has had % in every version, this time its just better at adding the results together...
Which design would you like to see ?
Thomas
-
-
Re: So what is the math behind a punnet square?
 Originally Posted by OhhWatALoser
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
-
-
Re: So what is the math behind a punnet square?
 Originally Posted by thb
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?
 Originally Posted by j_h_smith
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.
-
-
BPnet Veteran
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.
-
-
Re: So what is the math behind a punnet square?
 Originally Posted by alan1
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
-
-
Registered User
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|