use of org.jwildfire.create.tina.random.ZigguratRandomGenerator in project JWildfire by thargor6.
the class Boarders2Test method testTransformYbigYNeg.
@Test
public void testTransformYbigYNeg() {
XYZPoint pt = new XYZPoint();
pt.y = -.4;
pt.x = .2;
pt.z = 1;
XYZPoint pt2 = new XYZPoint();
pt2.y = -.4;
pt2.x = .2;
pt2.z = 1;
Boarders2Func bf = new Boarders2Func();
bf.init(null, null, new XForm(), 10);
Flame f = new Flame();
f.setHeight(500);
f.setWidth(500);
f.setName("test1");
bf.transform(new FlameTransformationContext(new FlameRenderer(f, Prefs.getPrefs(), true, false), new ZigguratRandomGenerator(), 1), new XForm(), pt, pt2, 10);
}
use of org.jwildfire.create.tina.random.ZigguratRandomGenerator in project JWildfire by thargor6.
the class Boarders2Test method testTransformXbigXPos.
@Test
public void testTransformXbigXPos() {
XYZPoint pt = new XYZPoint();
pt.y = .4;
pt.x = .5;
pt.z = 1;
XYZPoint pt2 = new XYZPoint();
pt2.y = .4;
pt2.x = .5;
pt2.z = 1;
Boarders2Func bf = new Boarders2Func();
bf.init(null, null, new XForm(), 10);
Flame f = new Flame();
f.setHeight(500);
f.setWidth(500);
f.setName("test1");
bf.transform(new FlameTransformationContext(new FlameRenderer(f, Prefs.getPrefs(), true, false), new ZigguratRandomGenerator(), 1), new XForm(), pt, pt2, 10);
}
use of org.jwildfire.create.tina.random.ZigguratRandomGenerator in project JWildfire by thargor6.
the class Boarders2Test method testTransformXbigXNeg.
@Test
public void testTransformXbigXNeg() {
XYZPoint pt = new XYZPoint();
pt.y = .4;
pt.x = -.5;
pt.z = 1;
XYZPoint pt2 = new XYZPoint();
pt2.y = .4;
pt2.x = -.5;
pt2.z = 1;
Boarders2Func bf = new Boarders2Func();
bf.setParameter("right", 0);
bf.init(null, null, new XForm(), 10);
Flame f = new Flame();
f.setHeight(500);
f.setWidth(500);
f.setName("test1");
bf.transform(new FlameTransformationContext(new FlameRenderer(f, Prefs.getPrefs(), true, false), new ZigguratRandomGenerator(), 1), new XForm(), pt, pt2, 10);
}
use of org.jwildfire.create.tina.random.ZigguratRandomGenerator in project JWildfire by thargor6.
the class Boarders2Test method testTransformYbigYPos.
@Test
public void testTransformYbigYPos() {
XYZPoint pt = new XYZPoint();
pt.y = .4;
pt.x = .2;
pt.z = 1;
XYZPoint pt2 = new XYZPoint();
pt2.y = .4;
pt2.x = .2;
pt2.z = 1;
Boarders2Func bf = new Boarders2Func();
bf.init(null, null, new XForm(), 10);
Flame f = new Flame();
f.setHeight(500);
f.setWidth(500);
f.setName("test1");
bf.transform(new FlameTransformationContext(new FlameRenderer(f, Prefs.getPrefs(), true, false), new ZigguratRandomGenerator(), 1), new XForm(), pt, pt2, 10);
}
Aggregations