Frames
@for (frameId of frames; track frameId) {

Particles in {{ frameId }}

@for (particle of particleData.frames[frameId]; track particle; let i = $index) {
Particle {{ i + 1 }}: ({{ particle.x.toFixed(2) }}, {{ particle.y.toFixed(2) }} , {{ particle.z.toFixed(2) }})
} @if (!particleData.frames[frameId] || particleData.frames[frameId].length === 0) {
No particles in this frame. Click on the plane to add particles.
}
}