DFIELDSOLUTIONS

Free software

LabFilum: Threads, cloth, and gravity - live

Verlet integration (velocity = current − previous position) + distance-constraint relaxation; cloth emerges from one tiny rule applied to a grid of sticks. 6 tests on the pure physics.

Free software1 sections · 2 min readBy Dezső Mező.mdFree softwareFilum

Filum is a real-time cloth and thread simulation where draping fabric emerges from one tiny rule applied across a grid of connected sticks. It uses Verlet integration, where velocity is implied by the difference between current and previous position, combined with iterative distance-constraint relaxation to hold the cloth together. It is a from-scratch, dependency-light build with 6 tests on the pure physics that you can download and run locally.

01About the app

Physics simulation

What to take away

  • Verlet integration (velocity = current − previous position) + distance-constraint relaxation; cloth emerges from one tiny rule applied to a grid of sticks. 6 tests on the pure physics.
  • Download: Filum (ZIP)
We build this for clientsFull-stack

Read the full write-up

More from the lab

Browse all entries

Want this looked at on your own system?Start a conversation

5.0
“New shop, more orders in the first week.”Müller Márk · GeekCornerManaging Director · Hungary