/// <summary> /// /// </summary> /// <param name="args"></param> /// <returns></returns> static int Main(string[] args) { #region Objects //Create all the things Console.Write("Creating Objects... "); ComplexCube cube = new ComplexCube(); cube.SetScale("1/10"); SimpleDot3 dot = new SimpleDot3(4); System3 sys = new System3( new double[, ] { { 1, 0, -1 }, { 0, 0, 0 }, { 0, 0, 0 } }, dot); sys.SetColor(new double[] { 0, 1, 1, 1 }); //Pen3 pen = new Pen3(GeometryBuilder.Circle(60)); Pen3 pen = new Pen3(GeometryBuilder.GraphPolar(new ExpressionD("sin(2*i)*2"), 0, 360, 2)); pen.SetAttributes(new Dictionary <string, string> { { "speed", "2" } }); //sin(time+dist/3)/2 pen.SetAttributes(new Dictionary <string, string> { { "scale", ".05" }, { "rcolor", "sin(time + dist/length)" }, { "bcolor", "sin(time + dist/length + 2/3*pi)" }, { "gcolor", "sin(time + dist/length + 4/3*pi)" } }); Scene scene = new Scene(); scene.Add(pen); scene.Add(cube); //scene.Add(sys); Console.WriteLine("Done."); #endregion //Create game universe Console.Write("Creating Universe... "); Universe u = new Universe(); u.AddScene(scene); u.SetActiveScene(0); u.Begin(); Console.WriteLine("Done."); while (true) { Console.ReadLine(); } //return 0; }