返回 2026-05-28
⚙️ 工程

Meta标志曲线拟合:Besace曲线参数求解The Meta logo and fitting Besace curves

johndcook.com·2026-05-27 节选正文

数学博客解析Meta标志背后的Besace曲线拟合问题,给出隐式方程和参数化形式。文章重点探讨如何通过数学方法确定参数a和b来精确匹配该曲线,展示实际应用中的数学建模技巧。

John

I saw a post yesterday saying that the Meta logo is a Besace curve.

A Besace curve has the implicit form

and the parametric form

where t ranges over [0, 2π].

So given a Besace curve, such as the Meta logo, how do you find the parameters a and b to fit the curve?

We can rewrite the parametric expression for x as a sine with a phase shift (see notes here)

where

Also, we can rewrite the parametric expression for y as

Now the extreme values of x and y are easier to see. The maximum value of x is A and the minimum value is −A. The maximum value of y is A(cos(φ) + 1)/2 and the minimum value is A(cos(φ) − 1)/2.

W#e can simplify the cosine of an artangent (see here) to find the height, i.e. the difference between the maximum and minimum y value, in terms of a and b.

Then the height is given by

The width is given by

and so

and

Now the Meta logo is drawn with a thick line, and the line width isn’t constant. It’s a little fuzzy what the height and width of the middle of the curve are, but I estimated h = 120 and w = 200 from one image. This leads to b = 20 and a = 97.98.

The Mathematica code

ParametricPlot[{a Cos[t] + 
   b Sin[t], -Sin[t] ( a Cos[t] + b Sin[t])}, {t, 0, 2 Pi}, 
 PlotStyle -> Thickness[0.05]]

produces the following image.

This is reminiscent of the Meta logo, but not a great match. I suspect the logo is not exactly a Besace curve. You could tinker with the a and b parameters and the aspect ratio to get a closer match. The logo may have been inspired by a Besace curve and then drawn by hand.

需要完整排版与评论请前往来源站点阅读。