Punnett Square (gene calculator)
This repository serves as an example of how to implement a Punnet Square calculator using JavaScript. This calculation is a very simple method for estimating the results of breeding animals together with the goal of specific trait expressions.
"The Punnett square is a square diagram that is used to predict the genotypes of a particular cross or breeding experiment. It is named after Reginald C. Punnett, who devised the approach." - Wikipedia, Punnet Square
You can read more about the purpose via Wikipedia https://en.wikipedia.org/wiki/Punnett_square
For this specific project single gene visible traits from Ball Pythons were used.
You have permission to use this code in your own projects but we ask that you credit Snakery Bakery in a visible manner with a link to the website appropriately.
Thank you!
There can certainly be improvements made! Please feel free to leave comments and reviews.
There is no warranty for the usefulness of this code.
An example index.html is included to help with site integration and demonstration. https://snakerybakery.github.io/