GoldBeads

public class GoldBeads implements Obstructor

A number of constantly-shining gold beads interspersed in the frame.

Author:Marcel Stefko

Constructors

GoldBeads

public GoldBeads(int beadCount, Camera camera, double brightness)

Randomly places gold beads into the camera field of view.

Parameters:
  • beadCount – number of gold beads
  • camera – camera properties
  • brightness – how bright the beads are [photons/frame]

Methods

applyTo

public void applyTo(float[][] pixels)