@staticmethod
    def _default_next_colour(particle):
        """
        Default next colour implementation - linear progression through
        each colour tuple.
        """
        return particle.colours[
            (len(particle.colours) - 1) * particle.time // particle.life_time]
dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/particles.py/Particle._default_next_colour/original