Changeset 9416 for 2017/30/MikkoH/Sq


Ignore:
Timestamp:
2017-08-03 19:08:32 (2 years ago)
Author:
mianhayr
Message:
 
Location:
2017/30/MikkoH/Sq
Files:
6 edited

Legend:

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

    r9415 r9416  
    77    double glmin = 0.5, glmax = 3; bool glrev; 
    88    List<Square> sqs = new List<Square>(); 
    9     //List<Vector> off = new List<Vector>(); int n; 
    109 
    1110    public override void Begin() 
     
    1312        Window.Height = 800; Window.Width = 800; 
    1413        Mouse.IsCursorVisible = true; Level.Background.Color = Color.Black; 
    15  
    16         //off.Add(new Vector(-50,50)); off.Add(new Vector(-50,-50)); 
    17         //off.Add(new Vector(50,-50)); off.Add(new Vector(50,50)); 
    1814 
    1915        sqs.Add(new Square(new Vector(0,0), 1, 400, 10, glrev, new Vector(-30, 30))); 
     
    3228 
    3329            int d = (int)(1 + sqs[i].mag / (sqs[i].maxmag - sqs[i].minmag) * 254); 
    34             c.BrushColor = new Color(d, d, d); // scales color change from magnitude change, TODO: something interesting 
     30            c.BrushColor = new Color(d, 100, 0); // scales color change from magnitude change, TODO: something interesting 
    3531 
    3632            for (int j = 0; j < sqs[i].Count; j++) 
Note: See TracChangeset for help on using the changeset viewer.