The Colors of Life

You are here

Foal Coat Color Calculator

19 posts / 0 new
Last post
Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
Foal Coat Color Calculator
http://colorgenetics.info/equine/foal-coat-color-calculator I'd appreciate it if each of you would make a few "tests" and let me know if anything funny shows up.
Third Peppermint
Offline
Last seen: 4 years 11 months ago
Joined: 09/03/09
So far I like it, it seems to

So far I like it, it seems to be working okay for me.

The horses are butt ugly, though. ymwhisle

SpiffyGrl
SpiffyGrl's picture
Offline
Last seen: 7 years 6 months ago
Joined: 03/25/11
I tried it, entered all info

I tried it, entered all info I know, pressed the submit button, and nuthin'. Not a dang thing happened. Is it down or something or did I do something wrong?

IMAGE(http://i360.photobucket.com/albums/oo49/SpiffyGrl/Banner7.jpg)

Katie
Offline
Last seen: 4 years 1 month ago
Joined: 08/13/10
Is there a way to streamline

Is there a way to streamline the results into maybe phenotype groupings or something? I tried the following pairing for the sake of testing, and the results were so disorganised. In theory, half of the possibilities are grey, no matter what is being carried, but it difficult to go through for the rest.

Ee AtAt gg Ccr Dd chch Zz
x
ee Aa Gg prl cr dd Chch zz

Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
Quote:I tried it, entered all

I tried it, entered all info I know, pressed the submit button, and nuthin'. Not a dang thing happened. Is it down or something or did I do something wrong?

It when you enter a bunch of things it takes the server a bit to calculate. Even on my home computer (without the internet involved) it can take several seconds.

Is there a way to streamline the results into maybe phenotype groupings or something? I tried the following pairing for the sake of testing, and the results were so disorganised. In theory, half of the possibilities are grey, no matter what is being carried, but it difficult to go through for the rest.

Ee AtAt gg Ccr Dd chch Zz

There probably is but I'll have to research the options for a bit. I may can add a column sort type feature but I'm not sure how that will affect the images.

Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
Ok, I did do a bit of testing

Ok, I did do a bit of testing and if you enter a bunch combinations it takes a HUGE amount of memory and maxes out the php memory limit. On my home computer it was using over 500mb which is more than the entire server ymwhisle . I'm going to have to add a some code that will limit the number of combinations. You will still be able to do more than enough for real life situations just not all of them at once. The number of possible permutations starts getting quite large after a bit. It's calculated by n! so if there are 6 possible combinations the number of permutations is 6*5*4*3*2*1 as you can see it can get very large and all that info has to be stored in memory.

Katie
Offline
Last seen: 4 years 1 month ago
Joined: 08/13/10
So no more mystery horses

So no more mystery horses with 16 random genes that they are hetero for??? :twisted:

Third Peppermint
Offline
Last seen: 4 years 11 months ago
Joined: 09/03/09
Maybe we could have a set

Maybe we could have a set location for the picture and then list the % chance of the phenotype, and then grouped under the phenotype but smaller we could have the actual genes?

Third Peppermint
Offline
Last seen: 4 years 11 months ago
Joined: 09/03/09
I did notice that I can't see

I did notice that I can't see the appaloosa patterns?

Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
Quote:Maybe we could have a

Maybe we could have a set location for the picture and then list the % chance of the phenotype, and then grouped under the phenotype but smaller we could have the actual genes?

I'm not sure I can do something like this the way the program is written or even that I want to do it. I'll have to think about it.

I did fix the appy patterns.

SpiffyGrl
SpiffyGrl's picture
Offline
Last seen: 7 years 6 months ago
Joined: 03/25/11
Ok, gotcha. Worked much

Ok, gotcha. Worked much better this time.

IMAGE(http://i360.photobucket.com/albums/oo49/SpiffyGrl/Banner7.jpg)

Danni
Danni's picture
Offline
Last seen: 6 years 8 months ago
Joined: 02/13/09
Oh that's cool, I like the

Oh that's cool, I like the horses too!!

Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
Thank you, Third Peppermint

Thank you, Third Peppermint did the images. I can't take credit for those.

Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
Ok, I've redone the results

Ok, I've redone the results page a bit. It is now in a table with sortable columns.

This was took way more time than I had imagined. The actual coding wasn't that hard but the sorting has to be done by JavaScript which I know nothing about. So I had to try a bunch of ready made solutions. I think I tried 5 before I found one that actually looked ok and did what I wanted. All the others either messed up the images or didn't allow for a fixed header.

I GUESS ya'll are worth it... ymwhisle ymwhisle ymwhisle

Oh I also fixed a small bug where a brown + buckskin was showing the image for a bay buckskin instead of a brown buckskin.

Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
I added a reset button to the

I added a reset button to the input form.

Billygoatsgruff
Offline
Last seen: 6 years 9 months ago
Joined: 04/19/11
is there any way to make the

is there any way to make the picture show to the left/right of the result table? my screen is too small to scroll through results and see the whole picture at the same time.

Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
It should show to the right

It should show to the right of the table. What screen resolution are you using?

Daylene Alford
Offline
Last seen: 6 days 9 hours ago
Joined: 02/12/09
It should be fixed now.

It should be fixed now. Narrow screens should still show the images.

Monsterpony
Monsterpony's picture
Offline
Last seen: 5 years 7 months ago
Joined: 02/13/09
Very cool. According to the

Very cool. According to the calculator, my pony had a 12.5% chance of cropping up based on his parents (ee CcrC KitWkit SPLspl X ee CC kitkit SPLspl = ee CcrC KitWkit SPLspl), with my boy being identical to his sire. The fact that he has an identical full sister is even more interesting.

.