Monte Carlo Simulation of two rigid sliding filaments. Filaments are connected by stochastic spring-like cross-bridges. The framework for describing the kinetics of the system is a Kramers fluctuation model.
This code is written in Mathematica. For optimal conditions, view the code in a Mathematica notebook.