@nbogie/p5.neill-utils
    Preparing search index...

    Function choppyMillis

    • returns a quantised version of millis that can give the effect of an apparent different frame rate to whatever it's applied to (perhaps for stop motion).

      Parameters

      • apparentFrameRate: number

        e.g. 10 would mean the returned millis value would be quantised to 100ms intervals (1000/10).
        It's probably better to mod this function to have it draw upon a config.apparentFrameRate for global stop motion effects and simpler-looking code.

      Returns number