flag-cloth

Known limitations

Intentional boundaries of the first dependency-free renderer.

  • The renderer requires WebGL2; there is no Canvas 2D cloth fallback.
  • Collision with poles, bodies, or arbitrary scene geometry is not included.
  • Self-collision is not simulated.
  • A shared-context integration still needs careful viewport and clear coordination.
  • Very large segment counts are CPU-bound because this version intentionally uses an understandable CPU solver.
  • Texture loading follows browser CORS rules.

A GPU solver could support much larger grids later, but it would introduce a second simulation architecture and make the initial library harder to inspect and debug.