Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.math > #510829 > unrolled thread
| Started by | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| First post | 2021-01-29 22:22 +0000 |
| Last post | 2021-02-06 20:36 -0800 |
| Articles | 20 on this page of 29 — 3 participants |
Back to article view | Back to sci.math
JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-01-29 22:22 +0000
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-01-29 14:50 -0800
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-01-29 23:14 +0000
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-01-30 19:22 +0000
RE: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-01-30 14:45 +0000
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-01-30 18:03 -0800
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-01-31 14:17 +0000
Big PS - ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-03 18:51 +0000
RE: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-03 20:43 +0000
Re: JULIA Plots & the MANDELBROT Set ! FromTheRafters <erratic@nomail.afraid.org> - 2021-02-03 16:12 -0500
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-03 23:08 +0000
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-03 15:10 -0800
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-03 15:13 -0800
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-03 23:30 +0000
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-03 16:16 -0800
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-04 15:19 +0000
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-04 19:41 -0800
Re: JULIA Plots & the MANDELBROT Set ! FromTheRafters <erratic@nomail.afraid.org> - 2021-02-04 06:38 -0500
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-04 14:50 +0000
Re: JULIA Plots & the MANDELBROT Set ! FromTheRafters <erratic@nomail.afraid.org> - 2021-02-04 11:12 -0500
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-04 19:27 +0000
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-04 19:44 -0800
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-05 15:10 +0000
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-05 12:12 -0800
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-05 12:13 -0800
RE: Re: JULIA Plots & the MANDELBROT Set ! casagiannoni@optonline.net <casagiannoni@optonline.net> - 2021-02-05 20:38 +0000
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-05 13:03 -0800
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-06 15:49 -0800
Re: JULIA Plots & the MANDELBROT Set ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2021-02-06 20:36 -0800
Page 1 of 2 [1] 2 Next page →
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-01-29 22:22 +0000 |
| Subject | JULIA Plots & the MANDELBROT Set ! |
| Message-ID | <WU%QH.39958$xa.27089@fx47.iad> |
Julia plots are Beautiful and Interesting. See : https://postimg.cc/gallery/QHcFVXN Plotted on the complex plane, each is specific to a complex C. If for any Z, the magnitude of Z = [ ( Z + C ) squared ] does not exceed 2 for n iterations, then Z is a point in the Julia for C at n iterations. If a Julia contains the origin and is connected, then C is part of the Mandelbrot set. See : https://postimg.cc/gallery/YqLphGg The Mandelbrot appears to be a well defined figure with apparent borders or boundaries MBT-1 . Yet when one zooms in on a border or boundary, there is an ongoing riot of complexity on all scales, MBT-1, -2, -3, -4 . Very interesting. Free Windows software available. See : https://postimg.cc/PLgcv0SY Post or E-mail casagiannoni@optonline.net or 631 757 2793 ( calls screened, leave message )
[toc] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2021-01-29 14:50 -0800 |
| Message-ID | <rv23f9$aqk$1@gioia.aioe.org> |
| In reply to | #510829 |
On 1/29/2021 2:22 PM, casagiannoni@optonline.net wrote: > Julia plots are Beautiful and Interesting. See : https://postimg.cc/gallery/QHcFVXN > > Plotted on the complex plane, each is specific to a complex C. If for any Z, the magnitude of Z = [ ( Z + C ) squared ] does not exceed 2 for n iterations, then Z is a point in the Julia for C at n iterations. > If a Julia contains the origin and is connected, then C is part of the Mandelbrot set. See : https://postimg.cc/gallery/YqLphGg > > The Mandelbrot appears to be a well defined figure with apparent borders or boundaries MBT-1 . Yet when one zooms in on a border or boundary, there is an ongoing riot of complexity on all scales, MBT-1, -2, -3, -4 . Very interesting. > > Free Windows software available. See : https://postimg.cc/PLgcv0SY > > Post or E-mail casagiannoni@optonline.net > or 631 757 2793 ( calls screened, leave message ) > > Still need to work on aspect ratio. These are all stretched out. The Julia I found that you are using for Default: https://postimg.cc/N5L3gpGg Should look like: https://commons.wikimedia.org/wiki/File:Julia_set_for_f(z)_%3D_z%5E2%2B0.355534_-0.337292*i.png See how Adam gives me credit? https://www.facebook.com/photo.php?fbid=111908386634835&set=a.110008616824812&type=3&theater
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-01-29 23:14 +0000 |
| Message-ID | <fF0RH.11520$Nq8.7208@fx45.iad> |
| In reply to | #510830 |
> > Still need to work on aspect ratio. These are all stretched out. The > Julia I found that you are using for Default: > As I've stated previously, the aspect ratios are not preserved in my displays. The figures are indeed stretched to nicely fill my program display window. This is just my personal preference as to what I think looks nice. Perhaps I should have included a button in my program to switch the display between the correct aspect ratio and back again. The default is just my personal favorite etc. All parameters are clearly shown in each display.
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-01-30 19:22 +0000 |
| Message-ID | <amiRH.5933$Cl7.947@fx26.iad> |
| In reply to | #510830 |
> > See how Adam gives me credit? > Yes, yes you get credit ! I was striving for simplicity in my program and didn't bother with those details.
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-01-30 14:45 +0000 |
| Message-ID | <eieRH.8203$Cg2.5736@fx37.iad> |
| In reply to | #510829 |
Here's what my program does: The domain of the calculations about the origin, is set by the Field H and Field V inputs. Calculations are done at 1920 points horizontally and 1080 points vertically, and the results are mapped to the corresponding 1920 x 1080 screen for optimal display. To expand and study a particular part of a Julia, it must be moved off center with the Center H and Center V, such that the part to be studied is centered at the origin, and then the Field H and Field V must be selected for the desired magnification.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2021-01-30 18:03 -0800 |
| Message-ID | <rv534p$1ngo$1@gioia.aioe.org> |
| In reply to | #510882 |
On 1/30/2021 6:45 AM, casagiannoni@optonline.net wrote:
> Here's what my program does: The domain of the calculations about the origin, is set by the Field H and Field V inputs. Calculations are done at 1920 points horizontally and 1080 points vertically, and the results are mapped to the corresponding 1920 x 1080 screen for optimal display. To expand and study a particular part of a Julia, it must be moved off center with the Center H and Center V, such that the part to be studied is centered at the origin, and then the Field H and Field V must be selected for the desired magnification.
>
>
Did you take a close look at my plotting code? It allows one to set the
width and height of the screen, yet maintains a proper aspect ratio, an
example in C++:
Read this, this happens to show my vector field plotted on a spiral fractal:
https://pastebin.com/raw/txz3pQ2Y
This function allows one to zoom in and out, and set the center point:
____________________________
struct ct_axes
{
double xmin;
double xmax;
double ymin;
double ymax;
};
struct ct_axes
ct_axes_from_point(
ct_complex z,
double radius
) {
struct ct_axes axes = {
z.real() - radius, z.real() + radius,
z.imag() - radius, z.imag() + radius
};
return axes;
}
____________________________
The following function gives the correct aspect ratio for the plane, no
matter what width and height you use:
________________
void
ct_plane_init(
struct ct_plane* const self,
struct ct_axes const* axes,
unsigned long width,
unsigned long height
) {
self->axes = *axes;
double awidth = self->axes.xmax - self->axes.xmin;
double aheight = self->axes.ymax - self->axes.ymin;
assert(width > 0 && height > 0 && awidth > 0.0);
double daspect = fabs((double)height / width);
double waspect = fabs(aheight / awidth);
if (daspect > waspect)
{
double excess = aheight * (daspect / waspect - 1.0);
self->axes.ymax += excess / 2.0;
self->axes.ymin -= excess / 2.0;
}
else if (daspect < waspect)
{
double excess = awidth * (waspect / daspect - 1.0);
self->axes.xmax += excess / 2.0;
self->axes.xmin -= excess / 2.0;
}
self->xstep = (self->axes.xmax - self->axes.xmin) / width;
self->ystep = (self->axes.ymax - self->axes.ymin) / height;
}
________________
You can port this to VB6. No matter what height and width you give it,
it still maintains a proper aspect ratio.
My plotting code in ShaderToy:
https://www.shadertoy.com/view/MdcyRs
________________
// Viewport Axes
struct ct_axes
{
float xmin;
float xmax;
float ymin;
float ymax;
};
ct_axes ct_axes_from_radius(
in vec3 vpcircle
){
return ct_axes(
vpcircle.x - vpcircle.z,
vpcircle.x + vpcircle.z,
vpcircle.y - vpcircle.z,
vpcircle.y + vpcircle.z
);
}
// Simple 2d Plane
struct ct_plane2d
{
ct_axes axes;
float xstep;
float ystep;
};
ct_plane2d ct_plane2d_create(
in ct_axes axes
){
float awidth = axes.xmax - axes.xmin;
float aheight = axes.ymax - axes.ymin;
float daspect = abs(iResolution.y / iResolution.x);
float waspect = abs(aheight / awidth);
if (daspect > waspect)
{
float excess = aheight * (daspect / waspect - 1.0);
axes.ymax += excess / 2.0;
axes.ymin -= excess / 2.0;
}
else if (daspect < waspect)
{
float excess = awidth * (waspect / daspect - 1.0);
axes.xmax += excess / 2.0;
axes.xmin -= excess / 2.0;
}
return ct_plane2d(
axes,
(axes.xmax - axes.xmin) / iResolution.x,
(axes.ymax - axes.ymin) / iResolution.y
);
}
vec2 ct_plane2d_project(
in ct_plane2d self,
in vec2 z
){
return vec2(
self.axes.xmin + z.x * self.xstep,
self.axes.ymin + z.y * self.ystep
);
}
________________
Can you read C++ and/or GLSL?
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-01-31 14:17 +0000 |
| Message-ID | <q_yRH.5216$Oa7.448@fx44.iad> |
| In reply to | #510926 |
That's all way beyond me Chris. I've only worked with Quick Basic v4.5 and more recently Visual Basic v6 . Nothing in shader toy . If you want me to see something, it's got to be as a simple Windows program executable etc. Regards ...
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-02-03 18:51 +0000 |
| Subject | Big PS - ! |
| Message-ID | <RgCSH.4564$Ot7.1642@fx24.iad> |
| In reply to | #510829 |
I can't recall where the 22 Julias ( C real , C imag ) originally came from; it's been a number of years I've had them. I suspect that Chris M. Thomasson may have discovered / authored some, many or all. Chris, you might consider sharing your private E-mail to casagiannoni@optonline.net so we can have private discussions. I would share with no one without your permission.
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-02-03 20:43 +0000 |
| Message-ID | <5WDSH.81478$7R1.13339@fx38.iad> |
| In reply to | #510829 |
Program executables of this type are blocked by most security software, so it's NOT possible to send via E-mail. Anyone desiring this program ( and 17 others, see https://postimg.cc/0r6XPZWc ) should E-mail a mailing address to casagiannoni@optonline.net for a CD . All will run from the CD or from a convenient HDD or SSD location.
[toc] | [prev] | [next] | [standalone]
| From | FromTheRafters <erratic@nomail.afraid.org> |
|---|---|
| Date | 2021-02-03 16:12 -0500 |
| Message-ID | <rvf3j7$19g6$1@gioia.aioe.org> |
| In reply to | #511316 |
After serious thinking casagiannoni@optonline.net wrote : > Program executables of this type are blocked by most security software, so > it's NOT possible to send via E-mail. Anyone desiring this program ( and 17 > others, see https://postimg.cc/0r6XPZWc ) should E-mail a mailing address to > casagiannoni@optonline.net for a CD . All will run from the CD or from a > convenient HDD or SSD location. You could zip and password protect (encrypt) them for sending in email.
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-02-03 23:08 +0000 |
| Message-ID | <z1GSH.21943$WG2.15416@fx40.iad> |
| In reply to | #511319 |
> > You could zip and password protect (encrypt) them for sending in email. I zipped and password protected ( encrypted ) everything and tested the result which worked OK. But when I attempt to attach and send with E-mail, I get the error : " Message could not be sent to the following recipients ... Virus detected by content scanner. Message rejected ZIP/Executable. " Doesn't look like this will work. Any other ideas ?
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2021-02-03 15:10 -0800 |
| Message-ID | <rvfahq$1sh3$1@gioia.aioe.org> |
| In reply to | #511336 |
On 2/3/2021 3:08 PM, casagiannoni@optonline.net wrote: >> >> You could zip and password protect (encrypt) them for sending in email. > > > I zipped and password protected ( encrypted ) everything and tested the result which worked OK. But when I attempt to attach and send with E-mail, I get the error : " Message could not be sent to the following recipients ... Virus detected by content scanner. Message rejected ZIP/Executable. " Doesn't look like this will work. Any other ideas ? > > Post the VB6 code directly to a text based medium. pastebin?
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2021-02-03 15:13 -0800 |
| Message-ID | <rvfan4$1sh3$2@gioia.aioe.org> |
| In reply to | #511337 |
On 2/3/2021 3:10 PM, Chris M. Thomasson wrote: > On 2/3/2021 3:08 PM, casagiannoni@optonline.net wrote: >>> >>> You could zip and password protect (encrypt) them for sending in email. >> >> >> I zipped and password protected ( encrypted ) everything and tested >> the result which worked OK. But when I attempt to attach and send with >> E-mail, I get the error : " Message could not be sent to the following >> recipients ... Virus detected by content scanner. Message rejected >> ZIP/Executable. " Doesn't look like this will work. Any other ideas ? >> >> > > Post the VB6 code directly to a text based medium. pastebin? No need to send an executable. Also, if you do need that, post the hexbytes of the executable. Or base64 or something.
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-02-03 23:30 +0000 |
| Message-ID | <AmGSH.6092$ado8.3051@fx35.iad> |
| In reply to | #511338 |
> > > > Post the VB6 code directly to a text based medium. pastebin? > > No need to send an executable. Also, if you do need that, post the > hexbytes of the executable. Or base64 or something. You seem to be suggesting I send the VB 6 module files of each program for use by someone with VB 6, and these might get by the E-mail screening ? CD would seem to be an easier solution.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2021-02-03 16:16 -0800 |
| Message-ID | <rvfec2$1ajp$1@gioia.aioe.org> |
| In reply to | #511342 |
On 2/3/2021 3:30 PM, casagiannoni@optonline.net wrote: >>> >>> Post the VB6 code directly to a text based medium. pastebin? >> >> No need to send an executable. Also, if you do need that, post the >> hexbytes of the executable. Or base64 or something. > > > You seem to be suggesting I send the VB 6 module files of each program for use by someone with VB 6, and these might get by the E-mail screening ? > > CD would seem to be an easier solution. > > Na. No mailing of CD's. Just post the source code.
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-02-04 15:19 +0000 |
| Message-ID | <tgUSH.10751$_w3.3909@fx12.iad> |
| In reply to | #511345 |
> > Na. No mailing of CD's. Just post the source code. The source code would be copied from a VB 6 module. Wouldn't someone need VB 6 or other programing to use it ? Then there's the form module and other stuff.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> |
|---|---|
| Date | 2021-02-04 19:41 -0800 |
| Message-ID | <rviep1$cr4$4@gioia.aioe.org> |
| In reply to | #511390 |
On 2/4/2021 7:19 AM, casagiannoni@optonline.net wrote: >> >> Na. No mailing of CD's. Just post the source code. > > > The source code would be copied from a VB 6 module. Wouldn't someone need VB 6 or other programing to use it ? Then there's the form module and other stuff. > > Well, one can port your VB6 code to other languages. Just post the modules and forms in a zip file. I happen to have VB6, but that does not mean I need it to use your code. Sending an executable is too sketchy.
[toc] | [prev] | [next] | [standalone]
| From | FromTheRafters <erratic@nomail.afraid.org> |
|---|---|
| Date | 2021-02-04 06:38 -0500 |
| Message-ID | <rvgmbi$1l4i$1@gioia.aioe.org> |
| In reply to | #511336 |
casagiannoni@optonline.net brought next idea : >> >> You could zip and password protect (encrypt) them for sending in email. > > > I zipped and password protected ( encrypted ) everything and tested the > result which worked OK. But when I attempt to attach and send with E-mail, I > get the error : " Message could not be sent to the following recipients ... > Virus detected by content scanner. Message rejected ZIP/Executable. " Doesn't > look like this will work. Any other ideas ? Try zipping and encrypting but not making it a self-extracting archive.
[toc] | [prev] | [next] | [standalone]
| From | casagiannoni@optonline.net <casagiannoni@optonline.net> |
|---|---|
| Date | 2021-02-04 14:50 +0000 |
| Message-ID | <%QTSH.10540$uC3.10338@fx15.iad> |
| In reply to | #511376 |
> > Try zipping and encrypting but not making it a self-extracting archive. I zipped and encrypted the files so I had a resulting zip file that wouldn't attach to an E-mail. Don't know why it says ZIP/self extracting. It wasn't a self extracting anything, only a zip file with encrypted entries.
[toc] | [prev] | [next] | [standalone]
| From | FromTheRafters <erratic@nomail.afraid.org> |
|---|---|
| Date | 2021-02-04 11:12 -0500 |
| Message-ID | <rvh6e8$1pj6$1@gioia.aioe.org> |
| In reply to | #511385 |
casagiannoni@optonline.net has brought this to us : >> >> Try zipping and encrypting but not making it a self-extracting archive. > > > I zipped and encrypted the files so I had a resulting zip file that wouldn't > attach to an E-mail. Don't know why it says ZIP/self extracting. It wasn't a > self extracting anything, only a zip file with encrypted entries. Well, I tried. I'm not sure what your situation is but if it were my AV/AM program scanning outgoing mail I would turn that feature off.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | sci.math
csiph-web