Exemple #1
0
 public override void Init()
 {
     _zoom   = P2;
     _mode   = P1;
     _invert = P3;
     _power  = VariationHelper.Map(P4, -10, 10, 0, 10);
 }
 public override void Init()
 {
     _angle  = VariationHelper.Map(P4, -10, 10, 0, 180);
     _invert = P3;
     _zoom   = P2;
     _mode   = P1;
 }
Exemple #3
0
        public override void Init()
        {
            var seed = (int)VariationHelper.Map(P1, -10, 10, int.MinValue, int.MaxValue);

            _randomize = new Random(seed);
            _x0        = 0.0;
            _y0        = 0.0;
            _theta     = 0.0;
            _phi       = 0.0;
            _s         = _randomize.NextDouble();
        }
Exemple #4
0
 public override void Init()
 {
     _seed      = (int)VariationHelper.Map(P1, -10, 10, int.MinValue, int.MaxValue);
     _mode      = P2;
     _zoom      = VariationHelper.Map(P3, -10, 10, -20, 20);
     _invert    = P4;
     _vec3      = new Vec3(1.0);
     _randomize = new Random(_seed);
     _x0        = _seed * _randomize.NextDouble();
     _y0        = _seed * _randomize.NextDouble();
 }
        public override void Init()
        {
            _mode   = P1;
            _zoom   = P3;
            _invert = P4;

            var seed = (int)VariationHelper.Map(P2, -10, 10, int.MinValue, int.MaxValue);

            _randomize = new Random(seed);
            _x0        = seed * _randomize.NextDouble();
            _y0        = seed * _randomize.NextDouble();
        }
Exemple #6
0
        public override void Init()
        {
            _seed = (int)VariationHelper.Map(P1, -10, 10, int.MinValue, int.MaxValue);
            _mode = P2;
            _zoom = VariationHelper.Map(P3, -10, 10, -5, 100);

            _invert     = P4;
            _randomize  = new Random(_seed);
            _x0         = 0.0;
            _y0         = 0.0;
            _k          = 0.1;
            _k2         = (1.0 - _k) / 2.0;
            _k3         = Math.Sqrt(2.0) * 0.5 - _k2;
            _hashScale1 = 0.1031;

            _x0 = _seed * _randomize.NextDouble();
            _y0 = _seed * _randomize.NextDouble();
        }
Exemple #7
0
 public override void Init()
 {
     _round = VariationHelper.Map(Math.Abs(P1), 0.0, 10.0, 0.0, 2.0);
     _n2    = VariationHelper.OneRadOfQuadrant * W;
 }
Exemple #8
0
 public override void Init()
 {
     _shift = VariationHelper.Map(P1, -10, 10, -2.0, 2.0);
 }
Exemple #9
0
 public override void Init()
 {
     _effect = VariationHelper.Map(P1, -10, 10, -20, 20);
 }
Exemple #10
0
 public override void Init()
 {
     _dSpherWeight = VariationHelper.Map(P1, -10, 10, 0.0, 1.0);
 }
Exemple #11
0
 public override void Init()
 {
     _petals = VariationHelper.Map(P2, -10, 10, 0, 30);
     _holes  = VariationHelper.Map(P2, -10, 10, -5, 5);
 }
 public override void Init()
 {
     _seed = VariationHelper.Map(P2, -10, 10, -5, 5);
     _xx   = VariationHelper.Map(P3, -10, 10, -5, 14);
     _yy   = VariationHelper.Map(P4, -10, 10, -5, 79);
 }