You are browsing as a guest. Sign up (or log in) to start making projects!

2h 27m logged

Devlog - 3 

Quite a long session and I was working on a few different things and have added new features and also overhauled some of the existing features to make it even better. Firstly I made it random so that each time there is offspring then they get a unique gene from their parent and that is going to be at a random rate. Then what I did is added a data collection method so it collects data about population, size, vision and speed. It averages the data of size, vision and speed from the population but at this point is not being visualized because the graphs haven’t been added yet. Then I got into debugging. I hate debugging and fixing some of the bugs that were giving incorrect output. Then I overhauled the existing code. Firstly, I made the reproduction random because before it was like at a certain point the population doubled and it kept doing it until they food. But now it is random, sometimes they have reproduction or they might not. Then what I did is that I changed the js to have every different type of trait to be a particular color. That makes it easier to visualize different traits than actually thinking about it. Then I made different graphs for population, average size, average speed and average vision. That took me a while because when I first completed the code and tested it out the height of the screen kept increasing so I overhauled the update code but that was not the problem it was my css and I had height set as 100% instead of a few pixels. So I quickly adjusted it and everything went back to normal. Then I added a status indicator which shows the status of the ecosystem. If you didn’t start the simulation then it will indicate Ready, if you start the simulation then it will show Ecosystem Active, if you pause the simulation then It will indicate Paused but if the ecosystem collapse then it will indicate Ecosystem Collapsed. These are the changes I have made today in today’s session. Stay tuned for more!

1
249

Comments 2

@chahatesh

This is very cool

@Jhenil

@chahatesh Thank you