Skip to content

beekarthik/swarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animal Swarming Simulator

As part of the AR/VR development club at UC Berkeley, I am trying to help build an Augmented Reality application that allows the user to be in the middle of a group of flocking/swarming. This project is just a basic simulation in Javascript built to understand the core ideas of the flocking algorithm.

Below is a gif of the fully functioning 2D model.

alt text

Currently working extending this example to work in 3 dimensions so that the swarm algorithm can be directly applied into an Augmented Reality framework like Google ARCore.

The core flocking algorithm that I used was actually created by Craig Reynolds and you can read about it here.

About

A simple Javascript program to simulate flocking animals in two and three dimensions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors