Skip to content
Andrew Voirol
WorkLogAboutContact
HomeWorkLog

AboutContact

✦ Just one prompt away from figuring it all out.

Saturday, August 15, 2026

Taming the 3D Cosserat hair physics

WebGPUSimulationPhysics

Getting the physical tip lag right was a massive battle against stiffness and chaotic particles. I spent hours dialing in a discrete 3D Cosserat elastic rod simulation for the brush bristles, implemented in a 287-line CosseratBristleCluster.ts file. Early iterations were either too rigid or produced bizarre, sperm-like particle trails that broke the meditative vibe. By tuning the bending stiffness and stepping the physics at 0.016s intervals, we finally achieved a natural viscoelastic lag that responds organically to trackpad pressure and momentum.

← Previous

MUJŌ: first ink on digital washi

Next →

Lattice Boltzmann vs. Darcy flow for capillary tendrils


Andrew Voirol

Builder, hacker, shipper. Currently leaving localhost.

Navigate

WorkBuilder’s LogAboutContactRSS Feed

Connect

X / TwitterGitHubLinkedIn

© 2026 Andrew Voirol·Back to top ↑
✦Just one prompt away from figuring it all out.