3D Hidden States Visualization

This plot shows a 3D spiral, generated using sine and cosine for the x/y axes and a linear sequence for the z-axis:

  • $x = \sin(t)$
  • $y = \cos(t)$
  • $z = t$

Together, these equations trace a spiral around the z-axis.
Think of it as an analogy for hidden states in a neural network, which evolve over time (the z-axis), while oscillating in complex patterns (x & y axes).

✨ Try typing your own sentence — each word will be placed along the spiral, showing how tokens could be mapped into hidden state space.

5 50
100 2000