Install: pip, python3.x, matplotlib
Create your specie
sp = Specie("Name",B,R,D)
#B: Spontaneous Birth Rate
#R: Replication Rate
#D: Death Rate
Create your population
pop = Population(sp, N)
#sp: Specie
#N: Number of existing creatures at time 0
Let your population evolve
for _ in range(T):
pop.progress()
#T: Number of iteration for you population to evolve
#pop: Population
Show the results
app = App()
app.displayPop(pop)
app.mainloop()
#pop: Population to display
#Red Curve: Evolution Prediction
#Black Curve: Evolution of your Population
app = App()
app.displayPop(pop, Q)
app.mainloop()
#Q: Number of population to get an average curve
#Green Curve: Average of the N populations with same specie and same existing creatures at time 0
To Be Continued :)