Skip to content

This is a college project for course called Parallel systems. We needed to convert serial algorithm of flocking simulation into parallel.

Notifications You must be signed in to change notification settings

lukaprijatelj/flocking_simulation

Repository files navigation

Flocking simulation

Created for the purpose of passing a class Porazdeljeni sistemi at Faculty of Computer and Information Science, Ljubljana

Problem description

In the natural world, organisms exhibit certain behaviors when traveling in groups. This phenomenon, also known as flocking, occurs at both microscopic scales (bacteria) and macroscopic scales (fish). Using computers, these patterns can be simulated by creating simple rules and combining them. This is known as emergent behavior, and can be used in games to simulate chaotic or life-like group movement.

Parallelization

Here we will show how to convert sequential algoritem into parallel. We will use 4 different architectures for parallelization. Architectures will be: pThreads, OpenMP, OpenCL and OpenMPI. Parallel algorithms can be found in different branches of same repository.

Graphics library

Parallel programming architectures

Screenshot

alt tag

Some Links

Authors

  • Gašper Kolar
  • Luka Prijatelj

About

This is a college project for course called Parallel systems. We needed to convert serial algorithm of flocking simulation into parallel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published