change parameters
This commit is contained in:
parent
b09631435b
commit
63494cf384
|
@ -13,7 +13,7 @@ void setup() {
|
||||||
//vis = new BarH(150,150,100,10,0,100);
|
//vis = new BarH(150,150,100,10,0,100);
|
||||||
//vis = new Tacho(150,150,100,0,100);
|
//vis = new Tacho(150,150,100,0,100);
|
||||||
//vis = new Direction(150,150,100,0,100,0,1,PI/2);
|
//vis = new Direction(150,150,100,0,100,0,1,PI/2);
|
||||||
vis = new GraphRoll(150,150,200,100,0,100, 20);
|
vis = new GraphRoll(150,150,200,100,0,100, 1);
|
||||||
|
|
||||||
vis.setShowMinMax(false);
|
vis.setShowMinMax(false);
|
||||||
vis.setTitle("Testwert");
|
vis.setTitle("Testwert");
|
||||||
|
@ -21,11 +21,11 @@ void setup() {
|
||||||
|
|
||||||
void draw() {
|
void draw() {
|
||||||
background(255);
|
background(255);
|
||||||
rawvalue +=random(-10,10);
|
//rawvalue +=random(-10,10);
|
||||||
rawvalue = constrain(rawvalue, 0,100);
|
//rawvalue = constrain(rawvalue, 0,100);
|
||||||
xoff += 0.01;
|
xoff += 0.01;
|
||||||
xoff2 += 0.004;
|
xoff2 += 0.004;
|
||||||
//rawvalue=noise(xoff) * 100;
|
rawvalue=noise(xoff) * 100;
|
||||||
|
|
||||||
vis.setValue(rawvalue);
|
vis.setValue(rawvalue);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue