惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
Blog — PlanetScale
Blog — PlanetScale
B
Blog RSS Feed
L
LangChain Blog
Jina AI
Jina AI
爱范儿
爱范儿
C
Check Point Blog
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
月光博客
月光博客
GbyAI
GbyAI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Stack Overflow Blog
Stack Overflow Blog
V
V2EX
A
About on SuperTechFans
有赞技术团队
有赞技术团队
Microsoft Azure Blog
Microsoft Azure Blog
The GitHub Blog
The GitHub Blog
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题

Lobsters

CIFSwitch: a non-universal Linux local root vulnerability RIPE NCC session fixation: poaching logins with an Atlas probe GNOME 2.20 but its Web Components Agentic Search for Context Engineering – Leonie Monigatti Garnix is shutting down [not OC] akashina.tngl.sh/jjc Concerning Emacs (and Jazz) Nitpicking the shell history scene in ‘Tron: Legacy’ What's cooking on SourceHut? Q2 2026 The tenth OpenPGP email summit Package managers that package package managers Clojure on Fennel part three: parsing WordPress at 23 Finding Miscompiles for Fun, Not Profit GitHub - creusot-rs/creusot: Creusot helps you prove your Rust code is correct. Announcing Rust 1.96.0 | Rust Blog A Love Letter to Neovim sqlite AGENTS.md Am I a Bad Friend? CSS vs. JavaScript • Josh W. Comeau Erlang Ecosystem Foundation - Supporting the BEAM community A brief note about slot access cost in Common Lisp Keyboard latency probe Rethinking the GNOME clipboard issues Back to the Building Blocks’ Building Blocks Tech Notes: Theseus: translating win32 to wasm Fast is better than slow Content-addressed Rust builds (or, what kache actually caches) Intent to Prototype: Embedding API Canada’s Bill C-22 and the security cost of collecting more data
The cube, the epicycles and the human face
andreinc.net · 2026-06-20 · via Lobsters

... beneath a 🌘 Waning Crescent

This article should be read with the opening scene of Westworld in mind.

What if Plato and Leibniz were right? Maybe some mystics were right as well. As above, so below. Everything would fit nicely if the oscillatory behaviour of nature were more than a mathematical construct. Maybe mathematics is ontological. What if sinusoids are not here merely to follow and approximate a shape, but to interfere and give birth to one?

In any case, I found the idea cool and decided to put it into practice. Here is a cube where three of its faces contain epicycle constructions that work together to describe a human face. On each face of the cube, you can also see the component sinusoids without them interfering with one another.

The concept

If you are already familiar with the topic, the idea shouldn’t seem too complicated.

First, we sample a series of points from the surface of a face. Each point has three coordinates: $x$, $y$, and $z$. Finding a good way to sample the surface was probably the most difficult part.

The order of the points is important. The Fourier reconstruction follows them one after another. If we randomly change their order, the result will no longer look like a face.

Epicycles work in two dimensions, but our points live in three dimensions. To solve this, we create three projections:

\[ (x,y),\qquad(y,z),\qquad(z,x). \]

We calculate the Fourier coefficients separately for each projection. This gives us three groups of epicycles, one for each face of the cube. We then combine their endpoints to obtain a point in three-dimensional space.

We only use a limited number of circles, so the generated point does not always lie exactly on the face. Before drawing the final line, we move it back onto the surface.

As a bonus, each face of the cube also shows the original sinusoids without allowing them to interfere with one another.