Comment

Comment by kylebebak

In each frame of the simulation there's a small random chance that a fox dies (of starvation), and that a rabbit reproduces. The start positions and velocities of the rabbits and foxes are also random

The foxes and rabbits code is the same code in the simulation, I just recently put it on GitHub so I wouldn't lose it

parent kylebebak 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton