Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.
/ boids Public archive

Some CUDA and Emscripten hacking.

License

Notifications You must be signed in to change notification settings

jstepien/boids

Repository files navigation

Boids

See http://www.red3d.com/cwr/boids/ for some background.

Requirements

For the GPU version you'll need

Both the CPU and the GPU versions require

The JavaScript version depends on

Building

There are three main make targets:

  • cpu
  • gpu
  • boids.js

OpenMP is supported – if you're using GCC turn it on by adding -fopenmp to CFLAGS and LDFLAGS.

Usage

The -f command line argument enables the fullscreen mode.

An attractor can be set using the left mouse button and removed using the right mouse button.

Pressing any key kills the application.

License

See LICENSE.

About

Some CUDA and Emscripten hacking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages