예제 #1
0
 public static void update()
 {
     if (Rainbow.KaiUpdate())
     {
         Rainbow.KaiShow();
     }
     Rainbow.BuddySystem();
 }
예제 #2
0
        public static void SpeedTest()
        {
            Random n = new Random();

            for (int j = 0; j < 100; j++)
            {
                int red   = n.Next(127);
                int green = n.Next(127);
                int blue  = n.Next(127);
                for (int i = 0; i < Globals.KaiLength; i++)
                {
                    TestCompress(i, red, green, blue);
                }
                Rainbow.KaiShow();
            }
        }