Latest vloading… loading…
PyAFV is a simple Python toolkit for generating 2D finite Voronoi tessellations, modeling cell mechanics, and exploring collective motility under active dynamics.
Compute areas, perimeters, vertices, edges, and conservative forces while visualizing emergent tissue structure in real time.
Generate and analyze finite Voronoi diagrams with rich geometric data: cell areas, perimeters, edges, vertices, and connectivity.
Activate motility and explore collective motion driven by self-propulsion, adhesion, and confinement.
Python ≥ 3.10 support, Cython-accelerated components, and clean APIs for integration into research workflows.
or
Access the full geometry and conservative forces via sim.build( ) and inspect the returned dictionary for areas, perimeters, edges, and vertices.
Explore a collection of usage examples in Jupyter notebooks — no local setup required.
See an interactive simulation demo using PyAFV on Prof. Dapeng (Max) Bi's homepage.
If you use PyAFV in your research, please cite it. A paper associated with PyAFV has been posted to arXiv [1]:
[1] W. Wang and B. A. Camley, Divergence of detachment forces in the finite Voronoi model, arXiv preprint arXiv:2604.15481 (2026).