Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Flocking Simulation with Phoenix Channels

Flocking Simulation with Phoenix Channels

Avatar for Christian Bäuerlein

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