Hereditary trait simulator.
genghisjahn / generations Goto Github PK
View Code? Open in Web Editor NEWHereditary trait simulator.
License: MIT License
Hereditary trait simulator.
License: MIT License
Maybe we can make simple model of this.
Split this up into multiple issues.
Create a family object holds a map of Person's map[string]Person where string is the hash.
Each person needs a property that allows them to hold the hash of maternal/paternal genetic info source. Each person needs a generation so we'll know how far from the origin they are.
For ability scores, need
mean, mean, mode & range.
For allele's
Get the break down for the number of each.
We'll set it at 1,000,000 to 1 odds for a mutation in any ability score or allele.
EC1 Brown or blue
EC2 Green or blue
If EC1 has a B, color is B.
If EC1 is bb, color is
blue if EC2 is bb
green if EC2 is Gb or GG
If any one ability is very low, it should put a top end on other linked abilities
(str,con,dex,chr) (int,wis)
made up of all abilities/alleles/names
whatever else?
maybe some kind of birthday?
B is black.
b is blonde
r is red
HC1 is B or b
HC2 is R or b
HC1
BB is black hair.
Bb is brown
if bb
HC2
If blonde/red, blonde
If red/red red
I think this is how I want to work.
Have the person select a class based on ability scores from here:
We'll use this some day after we add the web interface.
Straight ahead Dd
Each millisecond (or something) there is a chance the individual doesn't move on.
This factor will be based on int+con+chr.
The higher that average score, the better chance each individual has to move on.
Read up on this one.
This might be a tough one.
http://learn.genetics.utah.edu/content/inheritance/observable/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.