@shonk Super smooth animation, striking color choice... and it's not every day I see "Haversine" in use. (In fact, I'm not sure I've ever seen haversine anywhere except rather old textbooks and tables of trigonometric values)

@jsiehler Haversine is actually surprisingly useful if you want to smoothly interpolate between \(f(0)=0, f'(0)=0\) and \(f(a)=1,f'(a)=0\).

I also sometimes use the polynomial smoothstep/smootherstep/smootheststep functions: en.wikipedia.org/wiki/Smoothst

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!