SHARE
TWEET

Untitled

a guest Apr 25th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for (; iteration < 100; iteration++)
  2. {
  3.     if (z.Real * z.Real + z.Imaginary * z.Imaginary >= 4)
  4.     {
  5.         foreach(int tIndex in tempHits)
  6.         {
  7.             hitCount[tIndex]++;
  8.             if (hitCount[tIndex] > biggestHit) biggestHit = hitCount[tIndex];
  9.         }
  10.         tempHits.Clear();
  11.         break;
  12.     }
  13.     //z = z.conjugate;
  14.     z = z * z;
  15.     z += c;
  16.     if (iteration > 4)
  17.     {
  18.         int index = CalcIndex(z);
  19.         if (index != Int32.MaxValue)
  20.             tempHits.Add(index);
  21.     }
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top