kopia lustrzana https://github.com/jameshball/osci-render
Added default scale
rodzic
21b9f2e1fb
commit
28aa06babf
|
@ -15,9 +15,9 @@ public class AudioClient {
|
|||
AudioPlayer.addLines(Shapes.generatePolygon(100, 0.5, 60));
|
||||
AudioPlayer.addLines(Shapes.generatePolygram(5, 3, 0.5, 60));
|
||||
|
||||
AudioPlayer.setRotateSpeed(0.4);
|
||||
AudioPlayer.setTranslation(1, new Vector(0.25, 0.25));
|
||||
AudioPlayer.setScale(0.3);
|
||||
AudioPlayer.setRotateSpeed(0.8);
|
||||
AudioPlayer.setTranslation(4, new Vector(1, 1));
|
||||
AudioPlayer.setScale(0.5);
|
||||
|
||||
player.start();
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class AudioPlayer extends Thread {
|
|||
private static final int TRANSLATE_PHASE_INDEX = 0;
|
||||
private static double ROTATE_SPEED = 0.4;
|
||||
private static final int ROTATE_PHASE_INDEX = 1;
|
||||
private static double SCALE;
|
||||
private static double SCALE = 1;
|
||||
|
||||
static void render(XtStream stream, Object input, Object output, int frames,
|
||||
double time, long position, boolean timeValid, long error, Object user) {
|
||||
|
|
Ładowanie…
Reference in New Issue