Selection before mating
In a hypothetical diploid population, juveniles number AA = 360, Aa = 480 and aa = 160. Survival to reproduction is 1 for AA, 1/2 for Aa and 1/4 for aa. Surviving adults mate randomly, contribute equal numbers of gametes, and produce a very large next generation. There is no migration or mutation. For an allele frequency p of A and q of a, random union of gametes gives offspring frequencies p², 2pq and q².