Em 1999, o Quake III precisava calcular milhões de normais de vetores por segundo para a iluminação, e dividir por uma raiz quadrada era lento demais
a solução foi tratar os bits de um float como inteiro e subtrair de uma constante: 0x5f3759df
ninguém sabe ao certo quem inventou, mas virou a linha de código mais famosa da história dos games
Curso básico de QGIS con enfoque electoral
📅 Modalidad: Virtual en vivo. Sábados de 10 a 12
⏱️ Duración: 4 sesiones de 2 horas
📁 Incluye: Materiales de trabajo, datos de práctica y cuadernillo de paso a paso por clase
https://t.co/7wkiBVK6Go
A 2×2 matrix A makes the plane flow by x′ = Ax, and each flow is one of nine kinds: points sink, escape, spiral, circle or settle on a line.
The kind is set by the eigenvalues of A, the roots of λ² − (tr A)λ + det A = 0. det A < 0 gives a saddle. Above det A = (tr A)²/4 they are complex: spirals, or a centre if tr A = 0. Below it, nodes; on it, star and degenerate node.
The stable spiral here has tr A = −1, det A ≈ 2.65, so λ = −0.5 ± 1.55i.
Maxwell–Boltzmann distribution.
The air around you is full of tiny molecules, and at room temperature most of them move faster than the speed of sound.
They do not all move at the same speed. A few are slow, most cluster around a typical speed, and a rare few are extremely fast.
In 1860, James Clerk Maxwell worked out how these speeds are distributed. Ludwig Boltzmann later extended the idea.
Here 1,200 beads play the molecules. The faster a bead flies out, the farther it lands, so each slot collects beads of similar speed. Together, the piles trace the Maxwell–Boltzmann curve.