Figure A3.

When the supply rate of the secondary food source is high, a metamorphosing population evolves sometimes direct development in the stochastic IBM for low values of the supply rate of the primary food source. Evolutionary dynamics, starting from a metamorphic initial population, the extent of metamorphosis (, mint green), the larval specialization parameter (orange), and the resulting specialization on the secondary food source for individuals with body mass (dark purple). We plot the mean trait value of the consumer population. The supply rate of the secondary food source equals , that of the primary food source , which is the supply rate at which direct development can evolve (vertical dotted line in Fig. 2). The mutation rate equals = 0.01, , and L. Other parameter values are as shown in Tables S1.2, S1.3, and A2.