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


Groups > comp.lang.javascript > #26312 > unrolled thread

Re: article wrt black holes and fractals out of chaotic systems...

Started by"Chris M. Thomasson" <no@spam.invalid>
First post2014-12-10 21:09 -0800
Last post2014-12-13 04:39 +0100
Articles 14 — 7 participants

Back to article view | Back to comp.lang.javascript

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: article wrt black holes and fractals out of chaotic systems... "Chris M. Thomasson" <no@spam.invalid> - 2014-12-10 21:09 -0800
    Re: article wrt black holes and fractals out of chaotic systems... Terje Mathisen <terje.mathisen@tmsw.no> - 2014-12-11 18:39 +0100
    Re: article wrt black holes and fractals out of chaotic systems... Raymond Wiker <rwiker@gmail.com> - 2014-12-12 20:13 +0100
    Re: article wrt black holes and fractals out of chaotic systems... "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-12 20:35 +0100
      Re: article wrt black holes and fractals out of chaotic systems... "Chris M. Thomasson" <no@spam.invalid> - 2014-12-12 17:53 -0800
        Re: article wrt black holes and fractals out of chaotic systems... "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-14 14:02 +0100
          Re: article wrt black holes and fractals out of chaotic systems... "Chris M. Thomasson" <no@spam.invalid> - 2014-12-15 13:59 -0800
            Re: article wrt black holes and fractals out of chaotic systems... "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2014-12-17 18:07 +0100
    Re: article wrt black holes and fractals out of chaotic systems... "Chris M. Thomasson" <no@spam.invalid> - 2014-12-12 17:52 -0800
      Re: article wrt black holes and fractals out of chaotic systems... "James Van Buskirk" <not_valid@comcast.net> - 2014-12-13 11:52 -0700
        Re: article wrt black holes and fractals out of chaotic systems... "Chris M. Thomasson" <no@spam.invalid> - 2014-12-15 13:58 -0800
        Re: article wrt black holes and fractals out of chaotic systems... "Chris M. Thomasson" <no@spam.invalid> - 2014-12-15 14:02 -0800
          Re: article wrt black holes and fractals out of chaotic systems... "James Van Buskirk" <not_valid@comcast.net> - 2014-12-15 16:58 -0700
    Re: article wrt black holes and fractals out of chaotic systems... Melzzzzz <mel@zzzzz.com> - 2014-12-13 04:39 +0100

#26312 — Re: article wrt black holes and fractals out of chaotic systems...

From"Chris M. Thomasson" <no@spam.invalid>
Date2014-12-10 21:09 -0800
SubjectRe: article wrt black holes and fractals out of chaotic systems...
Message-ID<m6b8u1$pjk$1@speranza.aioe.org>
(cross-posted to comp.lang.javascript; I forgot to add this
newsgroup before I posted it here!   :^(   )

"Chris M. Thomasson"  wrote in message 
news:m6b84v$o6j$1@speranza.aioe.org...

FWIW, here is a crude animated GPU-based tour of Julia set around
the main cardioid of the Mandelbrot set. This is implemented in
a pixel shader that has real time color cycling, animation and
point-and-click zooming capabilities. I am planning to extend
this out into a full blown online fractal explorer, complete with
a custom function parser. I am wondering if it works for you?

So far, I can get it to work in Chrome and Firefox. IE does not
seem to want to render; I am probably doing something slightly
wrong in the shader, but it does work in these other browsers.
Perhaps IE does not like the fact that I am breaking out of a for
loop. IIRC, the shader language does not like breaking out of a
loop early; Humm...

Anyway, here is a link to the online program:

http://webpages.charter.net/appcore/fractal/webglx/ct_complex_field.html

This is using an escape method I came up with that actually
generates an entire infinite vector field, complete with field lines.
Last time I saw an algorithm for field lines in a complex escape time
fractal, the method was just way too complex; mine is almost too easy!

FWIW, it is fairly similar to some of my simulated 2d gravitational field
line animation's on YouTube:

https://www.youtube.com/watch?v=hOUUCk3Gdg4

https://www.youtube.com/watch?v=h0WEsw1F0xY


I think I found a unique method to generate a vector field that totally
comprises everything out of the main set; so to speak.

Well, does it work for you?



Thanks!



BTW, I am using 32-bit floats, so the distance you can zoom to before rapid
pixilation will be rather limited!

Sorry about that for I have not emulated 64-bit floats with 32-bit base
floats yet, but it is on the list!

:^) 

[toc] | [next] | [standalone]


#26313

FromTerje Mathisen <terje.mathisen@tmsw.no>
Date2014-12-11 18:39 +0100
Message-ID<m6cks9$g16$1@speranza.aioe.org>
In reply to#26312
Chris M. Thomasson wrote:
> (cross-posted to comp.lang.javascript; I forgot to add this
> newsgroup before I posted it here!   :^(   )
>
> "Chris M. Thomasson"  wrote in message
> news:m6b84v$o6j$1@speranza.aioe.org...
>
> FWIW, here is a crude animated GPU-based tour of Julia set around
> the main cardioid of the Mandelbrot set. This is implemented in
> a pixel shader that has real time color cycling, animation and
> point-and-click zooming capabilities. I am planning to extend
> this out into a full blown online fractal explorer, complete with
> a custom function parser. I am wondering if it works for you?

I'm using SeaMonkey (similar to Firefox), it works very nicely indeed!

Color me impressed. :-)

Terje
>
> So far, I can get it to work in Chrome and Firefox. IE does not
> seem to want to render; I am probably doing something slightly
> wrong in the shader, but it does work in these other browsers.
> Perhaps IE does not like the fact that I am breaking out of a for
> loop. IIRC, the shader language does not like breaking out of a
> loop early; Humm...
>
> Anyway, here is a link to the online program:
>
> http://webpages.charter.net/appcore/fractal/webglx/ct_complex_field.html
>
> This is using an escape method I came up with that actually
> generates an entire infinite vector field, complete with field lines.
> Last time I saw an algorithm for field lines in a complex escape time
> fractal, the method was just way too complex; mine is almost too easy!
>
> FWIW, it is fairly similar to some of my simulated 2d gravitational field
> line animation's on YouTube:
>
> https://www.youtube.com/watch?v=hOUUCk3Gdg4
>
> https://www.youtube.com/watch?v=h0WEsw1F0xY
>
>
> I think I found a unique method to generate a vector field that totally
> comprises everything out of the main set; so to speak.
>
> Well, does it work for you?
>
>
>
> Thanks!
>
>
>
> BTW, I am using 32-bit floats, so the distance you can zoom to before rapid
> pixilation will be rather limited!
>
> Sorry about that for I have not emulated 64-bit floats with 32-bit base
> floats yet, but it is on the list!
>
> :^)


-- 
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

[toc] | [prev] | [next] | [standalone]


#26316

FromRaymond Wiker <rwiker@gmail.com>
Date2014-12-12 20:13 +0100
Message-ID<m2egs4d6ks.fsf@Unknown-b8-f6-b1-15-88-0d.lan>
In reply to#26312
"Chris M. Thomasson" <no@spam.invalid> writes:

> ... 
>
> http://webpages.charter.net/appcore/fractal/webglx/ct_complex_field.html
>

Beautiful.

[toc] | [prev] | [next] | [standalone]


#26317

From"Christoph M. Becker" <cmbecker69@arcor.de>
Date2014-12-12 20:35 +0100
Message-ID<m6fg1g$4b6$1@solani.org>
In reply to#26312
Chris M. Thomasson wrote:

> http://webpages.charter.net/appcore/fractal/webglx/ct_complex_field.html
> 
> Well, does it work for you?

My Chrome 39.0.2171.71 m (64-bit) alerts: "Cannot load WegGL
Context!!!!".  The same happens after having updated to 39.0.2171.95 m
(64-bit).

[F'up2 comp.lang.javascript]

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#26319

From"Chris M. Thomasson" <no@spam.invalid>
Date2014-12-12 17:53 -0800
Message-ID<m6g67q$8r7$1@speranza.aioe.org>
In reply to#26317
> "Christoph M. Becker"  wrote in message news:m6fg1g$4b6$1@solani.org...

> > Chris M. Thomasson wrote:

> > http://webpages.charter.net/appcore/fractal/webglx/ct_complex_field.html
> >
> > Well, does it work for you?

> My Chrome 39.0.2171.71 m (64-bit) alerts: "Cannot load WegGL
> Context!!!!".  The same happens after having updated to 39.0.2171.95 m
> (64-bit).

Humm... I wonder if WebGL is enabled in your Chrome browser, or if your
GPU does not support it. Other than that, I am at a loss as to why it does 
not
work for you; sorry about that!

;^( 

[toc] | [prev] | [next] | [standalone]


#26326

From"Christoph M. Becker" <cmbecker69@arcor.de>
Date2014-12-14 14:02 +0100
Message-ID<m6k1os$lrb$1@solani.org>
In reply to#26319
Chris M. Thomasson wrote:

>> "Christoph M. Becker"  wrote in message news:m6fg1g$4b6$1@solani.org...
> 
>> > Chris M. Thomasson wrote:
> 
>> >
>> http://webpages.charter.net/appcore/fractal/webglx/ct_complex_field.html
>> >
>> > Well, does it work for you?
> 
>> My Chrome 39.0.2171.71 m (64-bit) alerts: "Cannot load WegGL
>> Context!!!!".  The same happens after having updated to 39.0.2171.95 m
>> (64-bit).
> 
> Humm... I wonder if WebGL is enabled in your Chrome browser, or if your
> GPU does not support it. Other than that, I am at a loss as to why it
> does not
> work for you; sorry about that!

Apparently, WebGL is unavailable on my Chrome[1], even though
chrome://gpu reports otherwise.  Anyhow, that would be an issue for
another newsgroup/support forum.

Your program works fine on my Firefox, BTW. :)

[1] <http://get.webgl.org/>

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#26328

From"Chris M. Thomasson" <no@spam.invalid>
Date2014-12-15 13:59 -0800
Message-ID<m6nll6$f5s$1@speranza.aioe.org>
In reply to#26326
> "Christoph M. Becker"  wrote in message news:m6k1os$lrb$1@solani.org... 

> > Chris M. Thomasson wrote:

[...]

> Apparently, WebGL is unavailable on my Chrome[1], even though
> chrome://gpu reports otherwise.  Anyhow, that would be an issue for
> another newsgroup/support forum.

> Your program works fine on my Firefox, BTW. :)

Thank you so much for trying it out on another browser!

:^)

[toc] | [prev] | [next] | [standalone]


#26351

From"M. Strobel" <sorry_no_mail_here@nowhere.dee>
Date2014-12-17 18:07 +0100
Message-ID<cfdri1F7a3aU1@mid.uni-berlin.de>
In reply to#26328
On 15.12.2014 22:59, Chris M. Thomasson wrote:
>> "Christoph M. Becker"  wrote in message news:m6k1os$lrb$1@solani.org...
>
>> > Chris M. Thomasson wrote:
>
> [...]
>
>> Apparently, WebGL is unavailable on my Chrome[1], even though
>> chrome://gpu reports otherwise.  Anyhow, that would be an issue for
>> another newsgroup/support forum.
>
>> Your program works fine on my Firefox, BTW. :)
>
> Thank you so much for trying it out on another browser!
>
> :^)

Even works in Konqueror 4.11 WebKit

/Str.

[toc] | [prev] | [next] | [standalone]


#26318

From"Chris M. Thomasson" <no@spam.invalid>
Date2014-12-12 17:52 -0800
Message-ID<m6g64k$8o9$1@speranza.aioe.org>
In reply to#26312
> "Chris M. Thomasson"  wrote in message 
> news:m6b8u1$pjk$1@speranza.aioe.org...

> FWIW, here is a crude animated GPU-based tour of Julia set around
> the main cardioid of the Mandelbrot set.

[...]

Thank you all for the very kind comments! I still have a
lot of work to do on this. For instance, I need to add a
"throttle" because some people have told me that it runs
a bit too fast on their high-end graphics cards.

:^) 

[toc] | [prev] | [next] | [standalone]


#26321

From"James Van Buskirk" <not_valid@comcast.net>
Date2014-12-13 11:52 -0700
Message-ID<m6i1to$eq5$1@dont-email.me>
In reply to#26318
"Chris M. Thomasson"  wrote in message 
news:m6g64k$8o9$1@speranza.aioe.org...

> "Chris M. Thomasson"  wrote in message
> > news:m6b8u1$pjk$1@speranza.aioe.org...

> > FWIW, here is a crude animated GPU-based tour of Julia set around
> > the main cardioid of the Mandelbrot set.

> [...]

> Thank you all for the very kind comments! I still have a
> lot of work to do on this. For instance, I need to add a
> "throttle" because some people have told me that it runs
> a bit too fast on their high-end graphics cards.

Also it has to detect window size and fill the graphics
window it's being drawn in, maybe disable scaling if in
full screen mode. Works MSIE 11.

[toc] | [prev] | [next] | [standalone]


#26327

From"Chris M. Thomasson" <no@spam.invalid>
Date2014-12-15 13:58 -0800
Message-ID<m6nlie$era$1@speranza.aioe.org>
In reply to#26321
> "James Van Buskirk"  wrote in message news:m6i1to$eq5$1@dont-email.me... 

> > "Chris M. Thomasson"  wrote in message 
> > news:m6g64k$8o9$1@speranza.aioe.org...

> > "Chris M. Thomasson"  wrote in message
> > > news:m6b8u1$pjk$1@speranza.aioe.org...

> > > FWIW, here is a crude animated GPU-based tour of Julia set around
> > > the main cardioid of the Mandelbrot set.

> > [...]

> > Thank you all for the very kind comments! I still have a
> > lot of work to do on this. For instance, I need to add a
> > "throttle" because some people have told me that it runs
> > a bit too fast on their high-end graphics cards.

> Also it has to detect window size and fill the graphics
> window it's being drawn in, maybe disable scaling if in
> full screen mode. Works MSIE 11.

I agree, and thank you for giving it a try James! However,
I must say that I am a bit worried that a User just might not
have a GPU that is "up to par" wrt the size of their "viewport"
and end up destroying any peformance they may have had at
the smaller size...

Humm... You can set this manually right now by saving
the HTML locally, then edit it using your favorite text
editor. Just open the HTML, and search for the text
"prv_resize_canvas" without the quotes, and manually
change the dimensions; they are hardcoded at 1024x1024
now. I can make it an "automatic" process, but am a little
afraid!

;^o


FWIW, I recently witnessed this running on a friends computer
equipped with a very nice NIVIDA graphics card, and it almost
runs a little too fast for my eye! So, this would work nicely there,
but perhaps not everywhere.

Humm...


I have a lot to ponder here!

:^)

[toc] | [prev] | [next] | [standalone]


#26329

From"Chris M. Thomasson" <no@spam.invalid>
Date2014-12-15 14:02 -0800
Message-ID<m6nlp6$fei$1@speranza.aioe.org>
In reply to#26321
> "James Van Buskirk"  wrote in message news:m6i1to$eq5$1@dont-email.me... 

> > "Chris M. Thomasson"  wrote in message 
> > news:m6g64k$8o9$1@speranza.aioe.org...
> > [...]

> Also it has to detect window size and fill the graphics
> window it's being drawn in, maybe disable scaling if in
> full screen mode. Works MSIE 11.

FWIW, it does not want to work on my MSIE 11! It just sits
there with a blank canvas. As to why it does not work for me,
well, I still do not know!

;^(


Thank you for trying it anyway James.

[toc] | [prev] | [next] | [standalone]


#26332

From"James Van Buskirk" <not_valid@comcast.net>
Date2014-12-15 16:58 -0700
Message-ID<m6nsj6$t2b$1@dont-email.me>
In reply to#26329
"Chris M. Thomasson"  wrote in message 
news:m6nlp6$fei$1@speranza.aioe.org...

> "James Van Buskirk"  wrote in message news:m6i1to$eq5$1@dont-email.me...

> > "Chris M. Thomasson"  wrote in message 
> > news:m6g64k$8o9$1@speranza.aioe.org...
> > [...]

> > Also it has to detect window size and fill the graphics
> > window it's being drawn in, maybe disable scaling if in
> > full screen mode. Works MSIE 11.

> FWIW, it does not want to work on my MSIE 11! It just sits
> there with a blank canvas. As to why it does not work for me,
> well, I still do not know!

The strange thing is, when I open it from the link in your original post,
MSIE 11 opens it without problems, but when I open it by clicking on
it from File Explorer, I get a popup that says Internet Explorer
restricted this webpage from running scripts or Active X controls.
When I press the Allow blocked content button, it then runs.
Changes:

function prv_resize_canvas(canvas_)
{
    //canvas_.width = 1024;
    canvas_.width = 3840;
    //canvas_.height = 1024;
    canvas_.height = canvas_.width * (9.0 / 16.0);
}

I turned MSIE zoom down to 100% and disabled Windows 8.1 scaling,
and now it fills the screen after I hit F11.  At this resolution the 
animation is more
of an ooze than the annoying flashing that it was at 1024 X 1024.  Still 
some
terrain is wasted because the caption covers the whole top of the image
rather that a neat little box and the scroll bars, but it's getting there.

[toc] | [prev] | [next] | [standalone]


#26320

FromMelzzzzz <mel@zzzzz.com>
Date2014-12-13 04:39 +0100
Message-ID<20141213043951.44f53e7b@maxa-pc>
In reply to#26312
On Wed, 10 Dec 2014 21:09:03 -0800
"Chris M. Thomasson" <no@spam.invalid> wrote:

> 
> http://webpages.charter.net/appcore/fractal/webglx/ct_complex_field.html
> 
> 
> Well, does it work for you?
> 
> 
> 
> Thanks!

Works, I see animation in firefox.

> 
> 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web