Skip to content

diningeachox/Flowfield-Pathfinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flowfield Pathfinding

A javascript implementation of the flowfield algorithm in the paper https://grail.cs.washington.edu/projects/crowd-flows/78-treuille.pdf by Treuille, Cooper, and Popovic. This algorithm is used for pathfinding with large groups.

Simply run the main.html file with any modern browser. The simulation entails four different groups of individuals with various sizes and speeds, each on one side of the window trying to get to the opposite side.

flowfield.mp4

As we can see in this video, the red group parts down the middle to make way for the blue group and the yellow group parts way to make way for all the other groups going across the screen.

About

A javascript implementation of the flowfield algorithm by Treuille, Cooper, and Popovic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published