How to determine the animation time of a random expression

How can I create an expression that does a random motion in rotation, but does it have a range of frames so that it does not get a very fast animation?
I created this expression:

Transform1.rotate.random(min=-1, max=1)

But the animation gets very fast and I wanted the ascent from -1 to 1 to last 20 frames, otherwise the animation gets very fast and I want a smooth movement. How do I add this time parameter so that the animation lasts 20 and repeats smoothly, going from the minimum to the maximum in that frame interval throughout the project?

Como eu posso criar uma expressão que faz um movimento aleatório na rotação, mas que possui um intervalo de frames para que não fique uma animação muito rápida?
Eu criei essa expressão:

Transform1.rotate.random(min=-1, max=1)

Mas a animação fica muito rápida e eu queria que a subida de -1 até 1 durasse 20 frames, caso contrário a animação fica muito rápida e eu quero um movimento suave. Como adiciono esse parâmetro de tempo para que a animação dure 20 e se repita de forma suave, indo do minimo ao máximo nesse intervalo de frames durante todo o projeto


How does the time parameter work? Can you give me an ex?

ex: time = 20f, I do not know how to apply

You probably want to use a more appropriate random function, like fbm noise. Ref:

I want to do a constant camera swing actually.

I could not apply these phrases you spoke, how do I use them?

Can you give an example of this in the rotate? (6.3 KB)

I did not find that knot wiggle, how did you find it? Is it extension?

It’s a custom node i made.
If you look inside, there’s just a ‘Transorm’ node with expressions on both ‘Translate’ and ‘Rotation’ parameters.

Nice. But I could not make the tremor softer, even leaving the low values ​​it trembled little and fast. I wanted a smooth movement that lasted 5 seconds or more. I did it manually, but if you want to add a way to let the movement gentler and how to control how long it takes to perform each movement.

Ah yes, i had forgotten about that feature.
I’ll try to craft a new version as soon as possible.

Done. (6.3 KB)

You just need to keyframe the ‘Intensity’ parameter, for both ‘Position’ and ‘Rotation’, to smooth in and out the effect.

By the way, there was already one available here :

Shake was exactly what I wanted, thank you. Your work is excellent!