
I worked with the Self-Organizing Particle Systems (SOPS) Lab at Arizona State University from March 2021 to October 2025 on distributed algorithms for programmable matter. Programmable matter is envisioned as a swarm of simple, identical modules (“amoebots”) that collectively change shape, move, and reconfigure based on local rules alone. Each particle has no global view, no central coordinator, and very limited memory. The interesting question is: what can a swarm like that actually accomplish, and under what assumptions?
Most existing algorithms for the amoebot model assume particles have unlimited energy and that the order in which they act is friendly. Neither is realistic. Real particles would draw energy from their environment and share it with neighbors, and a worst-case scheduler (an “unfair adversary”) could delay some particles arbitrarily while activating others repeatedly. That kind of scheduling can break algorithms that depend on things happening in a nice order.
We wanted a general framework that could take an existing energy-agnostic algorithm and automatically produce an energy-constrained version of it that still works correctly under an unfair adversary.
The paper introduces an energy distribution framework that transforms any “energy-compatible” amoebot algorithm A into an energy-constrained version Aδ with two guarantees:
The framework works by layering two behaviors on top of the base algorithm: HarvestEnergy, in which source amoebots draw energy from external sources into their batteries, and ShareEnergy, in which any non-idle amoebot with spare energy passes a unit to a neighbor whose battery isn’t full. Combined with a spanning-forest structure over the particle system, this ensures energy propagates through the swarm quickly enough that the underlying algorithm still makes progress even under adversarial scheduling.
alg/ directory are the ones prefixed with edf (for energy distribution framework).Because a senior PhD student handled the final commits to the public SOPSLab repository, individual commit history for my work lives in the lab’s private development fork rather than the public one.
Jamison W. Weber, Tishya Chhabra, Andréa W. Richa, and Joshua J. Daymude. Energy-Constrained Programmable Matter Under Unfair Adversaries. 27th International Conference on Principles of Distributed Systems (OPODIS), December 2023. [paper] [full version]
Alongside this project, I contributed to a second SOPS Lab paper on asynchronous deterministic leader election in three-dimensional programmable matter, published at ICDCN 2023. I also participated in weekly lab seminars on distributed computing, stochastic processes, and quantitative complexity.