Skip to main content

Due to decreasing use over the years, I have decided to disable the forum functionality of the site.

Forums will still be available to view but new posts are no longer allowed.

color calculator

I'm not ready to release this yet because its really ugly but I've got the basic coding done. I'd appreciate it if you guys would play with it a bit (if you can keep from going cross eyed that is :lol: )and if you find an error let me know. I got started on this after a link to a pay color calculator was posted. I had planned on doing this when I started the site but it got put on hold with the baby and all. I'm probably going to break it into several pages but I'm still toying with how I'd like it to look. http://www.equine-color.info/calc/calc.html" onclick="window.open(this.href);return false; Oh yes I forgot to mention the linkages don't work. I haven't quite worked out how to implement them yet.

NZ Appaloosas Thu, 04/29/2010 - 19:57

Major concern is format...it's too like the other, pay-for, calculator, and I wouldn't want to see the site hit for plagerism or anything.

Diane

Daylene Alford Thu, 04/29/2010 - 20:13

It looks like it because it is :rofl . I viewed source and copied the form. All the guts are mine though written in PHP. Don't think they can call plagiarism for ripping off a table anyway. I haven't starting working on format yet. Just want to make sure my coding is correct to output the combinations.

I'm thinking about making it multiple pages one for extension and agouti, and one for dilutions etc. I'm still thinking about it.

accphotography Thu, 04/29/2010 - 21:23

Oh thank you thank you thank you!!!! I've been wanting to do this for years but didn't know how. When Rising Moon consulted me about theirs I was thrilled with it... until I saw she planned to charge $7.50 for it. I warned her very, very, very few people will pay for it considering it's not THAT much better than AG's. Yours will be even better Daylene, especially considering she is refusing to consider the most recent research (she refuses to implement dominant white... stupid if you ask me).

Monsterpony Fri, 04/30/2010 - 13:52

My only issue is the abbreviations for the cream gene. It should be C and Ccr (and Cprl). The use of CR and cr is inaccurate as it is an incomplete dominant.

Jenks Fri, 04/30/2010 - 17:22

Do you think cleaning up the results page to look more presentable (perhaps a space between each line? and maybe some other frame or something to move it away from the left edge?) and perhaps a resulting phenotype or even the worded out version of the genotype would be a good idea?

Daylene Alford Fri, 04/30/2010 - 17:35

Yes I'm Planning on doing that. I've even got some other ideas but I want to work out the coding for the crossover crap first. Had to get my mind around how it actually works before I can start working on the code.

And then I have to figure out the best way to implement it into the site.

Jenks Fri, 04/30/2010 - 17:43

[quote="admin"]Yes I'm Planning on doing that. I've even got some other ideas but I want to work out the coding for the crossover crap first. Had to get my mind around how it actually works before I can start working on the code.

And then I have to figure out the best way to implement it into the site.[/quote]

It's really cool. I didn't even think about how bad we really needed it!!!!

NZ Appaloosas Sun, 05/02/2010 - 20:24

I agree with pretty-fying the results page up. That, for one, will go a long way in avoiding any claims of copyright infringement.

Diane

Daylene Alford Mon, 05/03/2010 - 09:42

just an update.

I've been working on the linkage code. I should have started out with it instead of the other because now I'm rewriting some of my code so it works with both the mutations that link and those that don't.

Daylene Alford Tue, 05/04/2010 - 16:01

Yes we can add more options as more genetics are understood.

Sent you a PM about the code.

Daylene Alford Tue, 05/04/2010 - 18:35

Ok I think I have everything working as far as the calculations go. I still haven't done any work on formating.

ATM I have it broken down into crossover sections to make it easier to check values. I would appreciate it if you ladies would get out your calculators and make sure my numbers are correct. After some checking has taken place. I will be combining them all.

I'll start work on format tomorrow.

Well take that back there is a bug if you enter just E's and A's. I'll have to track that down tomorrow.

http://www.equine-color.info/calc/calc…

Daylene Alford Thu, 05/06/2010 - 11:56

This is getting way more complicated then I thought it was going to be :rofl

Ok I've got it working if you know all your linkages or if you don't know any linkages but its making my brain hurt trying to think of all the other combinations and how to handle them. For example say you both parents have roan and both are Ee and you know the sire's roan is linked to E but you don't know if the dam's is linked to E or e? I'm figuring you have a 50/50 chance of it being linked either way but I have to write new code to include that.

The same for if both parents are Ee but you know the sire has both tobiano and roan from his dam (but you don't know if its linked to E or e) and the dam has Dominate White but you don't know where it is linked either.

Ok just had to vent I'll get it worked out eventually!

Daylene Alford Thu, 05/06/2010 - 20:27

Ok so after dozens of punnet squares I think I have it worked out. It's not going to be as hard as I though I was just looking at it wrong.