raster.art
SEARCH
Create Account
No wallets connected. Please connect a wallet first.
02. asteboids
Felix Martinez, 2021on fxhash
Platforms
fxhash
Description

This is a GPGPU implementation of the classic "boids" algorithm by Craig Reynolds. The simulation is moving 8192 vehicles represented as asteroids that are floating around the origin of the scene.

Collectors can control the camera angle and zoom. Besides extra controls appear if a double click is performed on the scene.

Extra controls include:

  • Alignment factor ("boids" algorithm)
  • Cohesion factor ("boids" algorithm)
  • Separation factor ("boids" algorithm)
  • Force to center ("boids" algorithm)
  • Max speed ("boids" algorithm)
  • Max force ("boids" algorithm)
  • Range ("boids" algorithm)
  • Strength (bloom postprocessing effect)
  • Radius (bloom postprocessing effect)
  • Threshold (bloom postprocessing effect)

WebGL2 is the graphics API and Three.js the library.

Created and minted in Dec 2021 by Felix Martinez - @sirokos