From 658f4fa807b3962ebe28bfa54d2e0aeb6e686d7a Mon Sep 17 00:00:00 2001 From: Recrown Date: Mon, 11 Sep 2017 23:57:15 -0500 Subject: [PATCH] minor changes to visualizer appearance --- .../rhythmbullet/audio/visualizer/BasicVisualizer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/zero1hd/rhythmbullet/audio/visualizer/BasicVisualizer.java b/core/src/zero1hd/rhythmbullet/audio/visualizer/BasicVisualizer.java index fceebf1..691caaa 100755 --- a/core/src/zero1hd/rhythmbullet/audio/visualizer/BasicVisualizer.java +++ b/core/src/zero1hd/rhythmbullet/audio/visualizer/BasicVisualizer.java @@ -27,13 +27,13 @@ public class BasicVisualizer extends VisualizerCore { public BasicVisualizer() { super(Gdx.graphics.getWidth(), Gdx.graphics.getHeight()/2, 0, 0); - barHeightMultiplier = Gdx.graphics.getHeight()*0.01f; + barHeightMultiplier = Gdx.graphics.getHeight()*0.008f; pixmap = new Pixmap(2, 2, Format.RGBA8888); pixmap.setColor(Color.GRAY); pixmap.fill(); barCount = 70; barWidth = MathUtils.ceil((float) width/(float) barCount); - spaceBetweenBars = (barWidth-2); + spaceBetweenBars = (barWidth-7); barWidth -= spaceBetweenBars; smoothRange = 4; angleRad = new Vector2(MathUtils.cosDeg(rotation), MathUtils.sinDeg(rotation));