Spreading Particles in a Disk

This Demonstration shows particles spreading inside a disk workspace. These might, for example, be magnetized particles inside a Petri dish pushed by an external magnetic field. The particles start along the green arc, bounded by red and blue locators. The propagated particles are pushed in the direction of and are incident along the arc drawn in blue. Often particles cannot be controlled perfectly, which is modeled by specifying an angular spread to either side of . This Demonstration shows the maximum and minimum particle spread (arc length) into which the particles can be manipulated.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


We assume a global input such that the particles start in an arc along the right side of the disk. The left-hand image shows the particle distribution in green as they propagate in the direction, as is shown in blue. The direction is indicated by two red arrows, each starting from either the left or right endpoint of the arc. The particle dispersion is shown with transparent circle sectors, and the path from their current position to an ending arc is shown with a transparent blue sector, which ends along an orange arc whose extent is highlighted by green and purple points. If "show paths" is checked, additional starting points along the current arc are shown.
The arc length may be initialized from 0 to radians.
Any initial distribution can be steered to a minimum arc length of and a maximum arc length of . Once the arc length exceeds the minimum, it can never be reduced to less than . Similarly, if the arc length is ever less than the maximum, it can never be increased to more than .
Every propagation step can add no more than to the arc length or decrease the arc length by .
This Demonstration was inspired by a similar problem in polygonal workspaces by Lewis and O'Kane [1].
[1] J. S. Lewis and J. M. O'Kane, "Planning for Provably Reliable Navigation Using an Unreliable, Nearly Sensorless Robot," The International Journal of Robotics Research, 32(11), 2013 pp. 1339–1354. doi:10.1177/0278364913488428.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+