GIANT & MINI / STUDY / LEVEL 1 OF 5
One frame
for everyone.
Two people share one desk at two sizes. The giant must see the mini as a figure six inches tall on the desk. The mini must see the giant as a figure twelve times life size, standing where the giant really stands. That sounds like two conversions. It is one rule, applied twice. Every body is drawn at full size in table coordinates, the coordinates of the real room where the desk stands. A giant is already there, so their matrix is the identity. A mini goes through M, the shrinking matrix from the Miniature project, built from their own origin. Then each viewer sets a single matrix on the node that holds the whole world: the identity if they are the giant, M⁻¹ if they are the mini. Both pictures below are the same scene. Only that one matrix differs.
The same moment, from both players
one scene graph; one matrix differsThe giant's eyes
The mini's eyes
The two matrices
and one head, seen twicetableFrame(mini) = M(mini's origin), on the mini's body
M⁻¹ on the world node, in the mini's headset
Where a body goes
players.jsThe whole rule is one expression. A player who is the mini carries their own origin in the message they send (level 2), so anyone can build their M.
One node under the world, per player
giantMini.jsThe other players' bodies are children of the world node. So whatever matrix my world node has this frame also acts on them. That is the reason the giant needs no code of their own to become large.
What you should be able to explain
- Why table coordinates. The desk, the house and a giant are all in the real room already. Choosing that room as the common frame means only minis need a matrix, and each mini's matrix depends on nobody but themselves.
- Why the giant is the right size for the mini. The mini's world node is M⁻¹, which grows everything twelve times about the mini's spot. The giant's body is under that node at the identity. So the giant grows with the desk, and the distance between the giant and the desk grows by the same factor. Size and position stay consistent because they are scaled together.
- What the mistake shows. Tick the box. The giant is now drawn at the identity outside the world node: life size, at their real coordinates in the mini's own room, which is nowhere near the grown desk. The numbers on the right show the difference.
- Two minis. A second mini would have their own origin and their own M. Seen by the first mini, their matrix is M₁⁻¹ · M₂: shrunk onto the table, then grown back. If both stand at the same place on the table that product is close to the identity, as it should be.
Exercises: ① Walk the mini 6 inches toward the giant. By how many metres does the giant's head come closer in the mini's view, and why 12 times 6 inches? ② Move the giant sideways by 0.3 m. How far does the giant move for the mini? ③ With the mistake ticked, why does walking the mini no longer change where the giant is?