Skip to content

velloxen/Java-Boids2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-Boids2D

2D Boids written in Java as described by Craig Reynolds: https://www.red3d.com/cwr/boids/

What are boids? A boid simulation is a flocking simulation using emergent behavior from localized rules.

I do use vecmath Point2d and Vector2D which is not default with Java. Make sure you download Java 3D.

A few fun variables to play with: flock_size in Flock.java; viewRadius, maxSpeed, and maxForce plus alignmentStrength, cohesionStrength, and seperationStrength under the flock method, all in Boid.java.

About

2D Boids written in Java.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages