Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Flocking Simulation with Phoenix Channels

Flocking Simulation with Phoenix Channels

Christian Bäuerlein

April 19, 2018
Tweet

More Decks by Christian Bäuerlein

Other Decks in Programming

Transcript

  1. Phoenix BoidsChannel Receives Updates Changes Settings GenServer WorldStateUpdater Calling itself

    
 30 times per second Simulation Calculates new positions per boid based on world state <canvas> Renderer Renders updated world state Socket Connection Receives Updates Changes Settings