Profile image

Elapsed Time - Working Stopwatches

67.1k SnoWFLakE0s  4.7 years ago

Yep, so this is a thing. First of its kind, works like a charm. Simply put, smooth is really the new meta now... It does everything. I'm working on the timer reset to be more intuitive, but the rest of the features are perfect.

Shows seconds and 100 milliseconds, works up to 60 seconds. Full stop/start capability. Does everything you'd expect a stopwatch to do. Digital version in the works.

Probably useful for measuring flight performance.

Since someone asked, here's what smooth does here:

It caps a boolean input to increase at a certain rate instead of instantly. In this case, the boolean goes from 0 to 1 instantly, but smooth caps it at a rate of 1/60ths per second. Therefore, every second, the output of smooth increases by 1/60ths. You can use the rate further: by adding a boolean modifier to the rate part of smooth, if I set the rate of change to 0 it simply stays at whatever value it was on, hence a working stop/start system for the stopwatch.

  • Log in to leave a comment
  • Profile image
    67.1k SnoWFLakE0s

    @Adityo0502
    .
    Essentially, what you've done is model a quadratic parabola with an equation of x^2, to put it into that perspective. Glad to help.

    +1 4.7 years ago
  • Profile image
    8,762 BlunderBirb

    @SnoWFLakE0s Oh, okay. Thanks a lot :D

    4.7 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @Adityo0502
    .
    WIth your input, you start at a value of 1 because -1 * -1 = 1. During the "increase" of the smooth function, you eventually will reach a point where 0 * 0 = 0. FInally, upon the end of the increase you'll have 1 * 1 = 1, leading to this looping back motion you mentioned.

    +1 4.7 years ago
  • Profile image
    8,762 BlunderBirb

    @SnoWFLakE0s No I just wanted to know why does it loop back with a double smooth

    4.7 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @Adityo0502
    .
    Unless you have an specific objective in mind, I can't really help you. Otherwise refer to the explanation I posted above.

    4.7 years ago
  • Profile image
    8,762 BlunderBirb

    @SnoWFLakE0s Was just messing around with it and trying to understand how it works

    4.7 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @Adityo0502
    .
    What exactly are you trying to do with double multiplied smooths?

    4.7 years ago
  • Profile image
    8,762 BlunderBirb

    So I put smooth (Activate1, 1) *
    smooth (Activate1, 1)
    in a rotor and now it does the full input and then automatically rubberbands back to default state again, wth is happenning here?

    4.7 years ago
  • Profile image
    13.9k ChrisPy

    Got it @SnoWFLakE0s

    4.7 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @ChisP
    .
    This does not use Time in any form.

    4.7 years ago
  • Profile image
    13.9k ChrisPy

    could time help with procedural landing gear I've always wondered about this

    4.7 years ago
  • Profile image

    Star Platinum ZA WARUDO

    4.7 years ago
  • Profile image

    Ohhhh ok @SnoWFLakE0s

    4.7 years ago
  • Profile image
    162k spefyjerbf

    Wonderful! That’s one heck of a function. Now clamp01 Booleans are actually quite useless

    4.7 years ago
  • Profile image
    67.1k SnoWFLakE0s

    @spefyjerbf
    .
    It caps a boolean input to increase at a certain rate instead of instantly. In this case, the boolean goes from 0 to 1 instantly, but smooth caps it at a rate of 1/60ths per second. Therefore, every second, the ouput of smooth increases by 1/60ths. You can use the rate further: by adding a boolean modifier to the rate part of smooth, if I set the rate of change to 0 it simply stays at whatever value it was on, hence a working stop/start system for the stopwatch.

    +1 4.7 years ago
  • Profile image

    Yeah I wanna know too @spefyjerbf

    4.7 years ago
  • Profile image
    162k spefyjerbf

    Nice. I never really understood smooth. How is it used in this application?

    +1 4.7 years ago