This is a very (could be overly) simple simulation of the wipeout gene described here. It is discussed here on Reddit, and the source of is page is hosted here on Github.
The simple model used here assumes that at every iteration,
an uninfected pair of mosquitos produces some uninfected offsprings.
The number of healthy offsprings (of each sex) for each pair is a function of the current total number of that sex,
the original number of that sex, and a resilience coefficient (in [0, 1]).
The function is MIN((original_total / current_total) ^ resilience, 1000),
implying that the nature has an inertia to restore any changes.
Also, an infected pair of mosquitos produces some infected male offsprings,
the number of which also follows the resilience function.