Wobbling Vertical Progress Bar
I learned how to build a neat, dynamically sized vertical progress bar with cross-bars in This Question.
No
Don't think StackOverflow is meant for these kind of 'questions', but oh well, felt like it, so made a far more extensive answer than a sane person would.
Let me start with a couple of technologies I incorporated and their justification
X-Tags, X-tags is a Web Components Custom Element polyfill developed by Mozilla. It allows us to write something like
And then do
var xbar1 = document.getElementById("test");
xbar1.value = 10;
xbar1.speed = 2;
xbar1.wobble = 10;
xbar1.effect= "dampen";
Cool right? This however means you will first need to read the documentation here. Before you will be able to understand the code.
y=sin(t)
and a more complexed dampened wave. One could easily add other waves as well, but these seemed to be the most reasonably interesting ones.As the code itself is over 200 lines long I will refrain from posting it here and you can find it on this jsfiddle.