Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #548506

Re: 2 CIA ruins sci.math

From "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups sci.math
Subject Re: 2 CIA ruins sci.math
Date 2021-12-16 13:57 -0800
Organization A noiseless patient Spider
Message-ID <spgcon$4or$2@dont-email.me> (permalink)
References (2 earlier) <91dd0eed-bbda-46da-aec3-7c85491d2a13n@googlegroups.com> <spe7bf$bs4$1@dont-email.me> <2f31c43e-9c93-48d7-bbb3-d0467fec3c0dn@googlegroups.com> <spedd2$h0d$1@dont-email.me> <a0448b36-505f-499e-ab7e-e64ef89271f7n@googlegroups.com>

Show all headers | View raw


On 12/15/2021 10:07 PM, Archimedes Plutonium wrote:
> Sorry to keep computers clean of viruses, you have to be always one step ahead
> 
> And your fractals are just the perfect size of coding to ruin a computer. And that is what Kibo is likely working on-- Emojis to hack

Ummmm... Wow. Do you really think there is a virus in:

/*
Alien Code?
First try by: Chris M. Thomasson
____________________________________________________*/
float g_pradius = 200;


void setup()
{
   size(800, 800);
   noFill();
   noLoop();
   background(0);
   colorMode(RGB, 255);
   translate(width / 2, height / 2);
   ct_alien_code_render(0, 2, 0, 0, 100);
   saveFrame("ct_alien_code.jpg");
}


void ct_alien_code_render(
   int irecur,
   int irecur_max,
   float ox,
   float oy,
   int imax
) {
   if (irecur >= irecur_max) return;

   float angle_start =  1 / (imax - 1.0) * (PI*2);

   float ptx = 1;
   float pty = 0;

   float ptx_x = (cos(angle_start) + floor(sin(angle_start)) * 2 + 1) * .5;
   float ptx_y = sin(angle_start) * .5;

   float dif_x = ptx_x - ptx;
   float dif_y = ptx_y - pty;

   float dis = abs(dif_x * dif_x + dif_y * dif_y);

   for (int i = 1; i < imax; ++i)
   {
     float ir = i / (imax - 1.0);
     float angle = (PI*2) * ir;

     float np_x = (cos(angle) + floor(sin(angle)) * 2 + 1) * .5;
     float np_y = (sin(angle)) * .5;

     np_x += ox;
     np_y += oy;

     float dif_np_x = np_x - ptx;
     float dif_np_y = np_y - pty;
     float ddd = abs(dif_np_x * dif_np_x + dif_np_y * dif_np_y);

     if (ddd <= dis && i > 1)
     {
       // line  in.plot.line(pt, np, CT_RGBF(0, 1, 1));

       float proj_pt_x = ptx * g_pradius;
       float proj_pt_y = -pty * g_pradius;

       float proj_np_x = np_x * g_pradius;
       float proj_np_y = -np_y * g_pradius;

       stroke(255, 255, 0);
       line(proj_pt_x, proj_pt_y, proj_np_x, proj_np_y);

       stroke(255, 0, 0);
       line(-proj_pt_x, -proj_pt_y, -proj_np_x, -proj_np_y);
     }

     ct_alien_code_render(irecur + 1, irecur_max, np_x, np_y, imax);

     ptx = np_x;
     pty = np_y;
   }
}

Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-15 14:19 -0800
  Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-15 16:23 -0800
  Re: 2 CIA ruins sci.math "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-12-15 17:47 -0800
    Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-15 18:06 -0800
      Re: 2 CIA ruins sci.math "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-12-15 18:09 -0800
        Re: 2 CIA ruins sci.math Timothy Golden <timbandtech@gmail.com> - 2021-12-24 03:25 -0800
          Re: 2 CIA ruins sci.math Timothy Golden <timbandtech@gmail.com> - 2021-12-24 03:31 -0800
      Re: 2 CIA ruins sci.math "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-12-15 18:13 -0800
        Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-15 19:19 -0800
          Re: 2 CIA ruins sci.math "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-12-15 19:56 -0800
            Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-15 22:07 -0800
              Re: 2 CIA ruins sci.math "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-12-16 13:57 -0800
                Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-16 16:53 -0800
                Re: 2 CIA ruins sci.math "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-12-16 21:11 -0800
    Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-23 20:09 -0800
      Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-25 13:02 -0800
      Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-25 14:05 -0800
        Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-25 22:30 -0800
          Re: 2 AP ruins sci.math Michael Moroney <moroney@world.std.spaamtrap.com> - 2021-12-26 02:18 -0500
    Re: 2 CIA ruins sci.math Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-24 09:42 -0800

csiph-web