published on Dec 24 2025

Writing the post from yesterday reminded me of another well-known representation for a geometric primitive, the plane, that makes code pleasing to look at and simple.

Planes

In general, a "plane" is an n-1 dimensional sub-space of an n-dimensional space that is flat. There’s a mathematically rigorous definition of what "flat" really means, but intuitive understanding is sufficient for the purposes of this explanation.

To fully specify a plane, we only need two things: the plane’s normal vector (which we’ll call `n`) and any point within the plane (we’ll refer to it as `o`). But we don’t actually need to store both the point and the vector in our representation.

By definition, the plane’s normal …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help