Stochasticity #6 – Weather Vectors

Screenshot of Stochasticy #6

 Launch the poem. Fork it on GitHub.

Another vector field poem, this simulation is starting to feel a lot like weather. The rules are similar to last time, but with more of the “walkers”. I find it fascinating how the lines of color converge together as time progresses, and then can randomly split apart. Theoretically if two “walkers” ended up on the exact same point, then they would be merged together forever. However, the location is stored in a double precision float. What that means for the non-programmers is that it’s a very precise means of storing a number with lots of decimal places. The chance that a “walker” ended up in the same space at the same time is pretty low.

More From Interactive