# Filum: 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.

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.

## About 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)

## Tags

Free software, Filum

## Read the full write-up

/downloads/filum.zip

## We build this for clients

https://dfieldsolutions.com/en/services/full-stack

## More from the lab

- https://dfieldsolutions.com/en/lab/sylex.md — Sylex: Make sense of the slashes
- https://dfieldsolutions.com/en/lab/kindra.md — Kindra: Miss a beat, not the rhythm
- https://dfieldsolutions.com/en/lab/voxara.md — Voxara: Argue better. Lose gracefully
- https://dfieldsolutions.com/en/lab/wraithward.md — Wraithward: Spot the bait before you bite

---

Source: https://dfieldsolutions.com/en/lab/filum
DField Solutions — Torony köz 5-1.a, 2120 Dunakeszi, Hungary — +36 20 722 0002 — dezso@dfieldsolutions.com
Booking: see https://dfieldsolutions.com/en/contact
