What is a “spring”?

I’ve heard of so called springs that I assume to be the way something is animated kind of like tweening and what not.

I think of a particular case in that they can be used to create animated movement effects like springs? They don’t seem to be bouncy to me all the time so I am unsure what “springs” are.

These “springs” can be dampened and etc to vary the effect and there are also spring modules.

The question is, what are these “strings” and what does it mean to dampen them?

A spring can look somewhat like this:

image
X-axis is time and Y-axis is value/amount.

Think of it as a wavy graph which displays how a certain axis or value is being smoothened over time.


A very easily accessible way to view a spring animation in action is through Blender by making a simple animation and setting the easing style to elastic or so in the graph editor. What I illustrated above is something you’d see in a graph editor.

I’m thinking of springs in scripting terms, like those spring modules. Any more info on how they work in code?

Yeah, what I showed you is a visual illustration of how they work behind the scenes when using any kind of spring for smoothness.