Skip to content

Commit

Permalink
Stop prepopulating the pulses vector
Browse files Browse the repository at this point in the history
I used that for debugging when developing the pulses/"Pixel Flow"
effect. Can go away now.
  • Loading branch information
tanuva committed Nov 10, 2023
1 parent 5a98738 commit c43061a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/photonizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ impl Photonizer {
);
}

let pulses = vec![Pulse {
color: palette::LinSrgb::new(1.0, 0.0, 0.0),
position: 0.0,
}];

Photonizer {
playback_state,
options,
Expand All @@ -122,7 +117,7 @@ impl Photonizer {
osc,

pixel_count: PIXEL_COUNT,
pulses,
pulses: vec![],
last_peak: 0.0,
osc_options_sent: Instant::now(),
blacked_out: false,
Expand Down

0 comments on commit c43061a

Please sign in to comment.