Changeset 9290 for 2017/30


Ignore:
Timestamp:
2017-07-31 22:37:18 (2 years ago)
Author:
mianhayr
Message:

hopelessly lost

Location:
2017/30/MikkoH/Sq
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/MikkoH/Sq/Sq/Sq/Sq.cs

    r9289 r9290  
    5151                if (sqs[i][j].Magnitude < sqs[i].minmag) 
    5252                { 
    53                     Square newsq = new Square(sqs[i].Count - 1, sqs[i].dist + 1); 
    54                     //newsq.mag = sqs[i][j].Magnitude; 
     53                    Square newsq = new Square(sqs[i].mag-1, sqs[i].dist+1); 
     54                    //newsq.mag = 10; 
    5555                    sqs.Add(newsq); 
    5656                    sqs.Remove(sqs[i]); 
     
    7171                c.DrawLine(sq[i % sq.Count], sq[(i + sq.Count / 4) % sq.Count]); 
    7272                sq[i] = Vector.FromLengthAndAngle(sq[i].Magnitude + sq.magc, sq[i].Angle);                      
    73             } 
    74  
    75          
     73            }      
    7674             
    7775        c.BrushColor = Color.Blue; 
     
    8684        //} 
    8785 
    88         foreach (List<Vector> ps in sqs) Rotate(ps);/* Rotate(crc, true);*/ 
     86        //foreach (Square sq in sqs) Rotate(sq);/* Rotate(crc, true);*/ 
    8987 
    9088        base.Paint(c); 
     
    102100        for (double i = s; i >= -s; i -= d) Add(new Vector(s, i)); 
    103101        for (double i = s; i >= -s; i -= d) Add(new Vector(i, -s)); 
    104         mag = s; dist = d; minmag = 5; maxmag = mag * 2; 
     102        dist = d; maxmag = mag * 5; 
     103 
    105104    } 
    106105} 
Note: See TracChangeset for help on using the changeset viewer.