JamesStuddart / gene-calculator

Punnett Square (gene calculator)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gene-calculator

Punnett Square (gene calculator)

Purpose

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!

Other notes

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/

About

Punnett Square (gene calculator)


Languages

Language:JavaScript 53.8%Language:HTML 46.2%