RSSAmplifier

Blog

Spencer Mortensen: Articles

Articles on a variety of topics, usually for creators who build interesting things

spencermortensen.comRSS feed ↗4 posts

Latest posts

Draw a smooth curve through a sequence of points

Here’s a simple algorithm for drawing a smooth curve through any sequence of points. The resulting curve is C 2 , which is as smooth as you can get with cubic Bézier curves.

Email address obfuscation: What works in 2026?

Here are some of the best techniques for keeping email addresses hidden from spammers—along with the statistics on how likely they are to be broken.

Approximate a circle with cubic Bézier curves

Bézier curves are often used to generate smooth curves because Bézier curves are computationally inexpensive and produce high-quality results. The circle can be closely approximated using a cubic Bézier curve that is constructed to minimize the radial deviation from a circle.

The typographic scale

The typographic scale has been used for centuries to choose harmonious font sizes. It has been likened to a harmonious musical scale. But there are flaws in those historical values.