xForm.setWeight(1.0 + Math.random() * 100.0);
VariationFunc varFunc = VariationFuncList.getVariationFuncInstance(Math.random() < 0.8 ? "juliascope" : "julian", true);
varFunc.setParameter("power", Math.random() < 0.8 ? 2 : 2 + Math.random() * 10.0);
varFunc.setParameter("dist", Math.random() < 0.8 ? 1.0 : -2.0 + 4.0 * Math.random());
xForm.addVariation(0.5 + Math.random(), varFunc);
xForm.setColorSymmetry(0.5);
XFormTransformService.rotate(xForm, Math.random() * 360.0, false);
XFormTransformService.localTranslate(xForm, 1.75 - 3.50 * Math.random(), 0.75 - 5.50 * Math.random(), false);
XFormTransformService.scale(xForm, 1.1 + Math.random() * 2.0, true, true, false);