Room temperature, out of sunlight, away from any heat source for the cup itself. Warmth makes them grow extremely fast, which burns through the food and stresses them, so a cup on a shelf near a radiator produces exactly this pattern even without a hot van.
And none of the dark ones go to your chameleon. Dead or dying hornworms out and in the bin, same as superworms.