Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Newsgroups | sci.math |
| Subject | Re: 2 CIA ruins sci.math |
| Date | 2021-12-15 19:56 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <spedd2$h0d$1@dont-email.me> (permalink) |
| References | <fe4d9677-c13a-4c70-abb8-f92e457dc124n@googlegroups.com> <spe5rf$avj$1@dont-email.me> <91dd0eed-bbda-46da-aec3-7c85491d2a13n@googlegroups.com> <spe7bf$bs4$1@dont-email.me> <2f31c43e-9c93-48d7-bbb3-d0467fec3c0dn@googlegroups.com> |
On 12/15/2021 7:19 PM, Archimedes Plutonium wrote:
> As much as I would like to look at your fractals, my home policy is to never open up something others beg of me to open up, just to keep my computers virus free. For I do not know if you work for Mi5, Mi6 trying to hack computers. Which reminds me-- I hope BBC is remaking the Mi5 series, lovely entertainment
This is a youtube link:
https://youtu.be/4VrMT18Rr84
I even posted the code. I used Processing for it, just for fun:
https://processing.org/
/*
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
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