float modelrad = sqrt((model.xMax)*(model.xMax) + (model.yMax)*(model.yMax) + (model.zMax)*(model.zMax));
PVector modelcenter = new PVector(model.xMax, model.yMax, model.zMax);
- BasicParameter widthparameter = new BasicParameter("Width", 10);
-
+ public BasicParameter widthparameter = new BasicParameter("Width", .1);
+ public BasicParameter huespread = new BasicParameter("Hue", .5);
class Sphery {
float f1xcenter, f1ycenter, f1zcenter, f2xcenter, f2ycenter, f2zcenter;
private SinLFO vx;
float vibration_min, vibration_max, vperiod;
+
+ float hsv = huespread.getValuef();
+ float wpv = widthparameter.getValuef();
Sphery(float f1xcenter, float f1ycenter, float f1zcenter, float vibration_min, float vibration_max, float vperiod) {
this.f1xcenter = f1xcenter;
this.f1ycenter = f1ycenter;
void run(int deltaMS) {
final float vv = vibration.getValuef();
final float vvx = vx.getValuef();
+
}
}
}
- float rsv, noiseyv, bandv;
public void StartRun(int deltaMs) {