Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Playground › 3D illusions

3D optical illusions

These illusions only work from one point of view. A camera, or an eye, flattens a 3D scene into 2D and throws away the distance to each point, so many different shapes can make exactly the same picture. Turn the model and the missing depth gives the trick away.

What to notice

  • Every point along one line of sight lands on the same spot in the picture.
  • The Penrose triangle is three straight beams; two ends line up only from one angle.
  • Perspective projection, x′ = f·x / z, is the same maths 3D games and self-driving cars use.

Questions

Is the impossible triangle real?
Not as a closed triangle. It can be built as three beams with a gap that is hidden from one exact viewpoint, which is what this model does.
How does an Ames room work?
The room is trapezoid-shaped, with one back corner much further away. From the single viewing hole it looks like a normal box, so people standing in the far corner look tiny.
What is anamorphosis?
An image that is distorted on purpose so that it only looks right from one particular point or with a mirror. 3D street chalk art uses it.

Learn it properly

  • Vectors and arrowsLesson
  • Matrices move spaceLesson

More to play with

  • Galton board
  • Monty Hall game
  • Chance lab
  • Balance scale equations
  • Strategy tournament