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


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

3d Highly Experimental Gravitational Field Plotter...

Started by"Chris M. Thomasson" <nospam@no-spam.ws>
First post2016-03-10 13:26 -0800
Last post2016-03-16 12:13 -0700
Articles 7 — 4 participants

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


Contents

  3d Highly Experimental Gravitational Field Plotter... "Chris M. Thomasson" <nospam@no-spam.ws> - 2016-03-10 13:26 -0800
    Re: 3d Highly Experimental Gravitational Field Plotter... "Chris M. Thomasson" <nospam@no-spam.ws> - 2016-03-10 13:30 -0800
    Re: 3d Highly Experimental Gravitational Field Plotter... jonas.thornvall@gmail.com - 2016-03-10 23:54 -0800
      Re: 3d Highly Experimental Gravitational Field Plotter... "Chris M. Thomasson" <nospam@no-spam.ws> - 2016-03-15 13:33 -0700
    Re: 3d Highly Experimental Gravitational Field Plotter... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-03-15 13:30 -0700
    Re: 3d Highly Experimental Gravitational Field Plotter... "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-03-15 21:15 -0700
      Re: 3d Highly Experimental Gravitational Field Plotter... "Chris M. Thomasson" <nospam@no-spam.ws> - 2016-03-16 12:13 -0700

#29881 — 3d Highly Experimental Gravitational Field Plotter...

From"Chris M. Thomasson" <nospam@no-spam.ws>
Date2016-03-10 13:26 -0800
Subject3d Highly Experimental Gravitational Field Plotter...
Message-ID<nbsoqm$1ua$1@gioia.aioe.org>
FWIW, I have uploaded:

http://funwithfractals.atspace.cc/ct_gfield_test/

a highly crude initial version of my 3d gravitational
field explorer. This one does not have any user interface.
I just posted it to see if it works on your various
current setups. You should see a rotating field line
rendering. Can you run it?  Thanks!

Also, it does not yet have equipotential lines. I am
almost done converting my OpenGL code for it over to WebGL.

The goal is to get a 3d version of my original 2d plotter here:

http://webpages.charter.net/appcore/fractal/field/

:^)

[toc] | [next] | [standalone]


#29882

From"Chris M. Thomasson" <nospam@no-spam.ws>
Date2016-03-10 13:30 -0800
Message-ID<nbsp2q$2h2$1@gioia.aioe.org>
In reply to#29881
On 3/10/2016 1:26 PM, Chris M. Thomasson wrote:
> FWIW, I have uploaded:
>
> http://funwithfractals.atspace.cc/ct_gfield_test/
>
> a highly crude initial version of my 3d gravitational
> field explorer. This one does not have any user interface.
> I just posted it to see if it works on your various
> current setups. You should see a rotating field line
> rendering. Can you run it?  Thanks!
[...]

FWIW, you should see the following rendering rotating on the y-axis:

https://plus.google.com/101799841244447089430/posts/S75dqHzfjGj

;^)

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


#29886

Fromjonas.thornvall@gmail.com
Date2016-03-10 23:54 -0800
Message-ID<19ed3b5f-b4aa-4d76-a3a3-5c3b41f2f1f0@googlegroups.com>
In reply to#29881
Den torsdag 10 mars 2016 kl. 22:26:57 UTC+1 skrev Chris M. Thomasson:
> FWIW, I have uploaded:
> 
> http://funwithfractals.atspace.cc/ct_gfield_test/
> 
> a highly crude initial version of my 3d gravitational
> field explorer. This one does not have any user interface.
> I just posted it to see if it works on your various
> current setups. You should see a rotating field line
> rendering. Can you run it?  Thanks!
> 
> Also, it does not yet have equipotential lines. I am
> almost done converting my OpenGL code for it over to WebGL.
> 
> The goal is to get a 3d version of my original 2d plotter here:
> 
> http://webpages.charter.net/appcore/fractal/field/
> 
> :^)

Yes very nice i was thinking doing some 3D myself, but no openGL just native javascript.

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


#30008

From"Chris M. Thomasson" <nospam@no-spam.ws>
Date2016-03-15 13:33 -0700
Message-ID<nc9rjg$669$1@gioia.aioe.org>
In reply to#29886
On 3/10/2016 11:54 PM, jonas.thornvall@gmail.com wrote:
> Den torsdag 10 mars 2016 kl. 22:26:57 UTC+1 skrev Chris M. Thomasson:
>> FWIW, I have uploaded:
>>
>> http://funwithfractals.atspace.cc/ct_gfield_test/
>>
>> a highly crude initial version of my 3d gravitational
>> field explorer. This one does not have any user interface.
>> I just posted it to see if it works on your various
>> current setups. You should see a rotating field line
>> rendering. Can you run it?  Thanks!
>>
>> Also, it does not yet have equipotential lines. I am
>> almost done converting my OpenGL code for it over to WebGL.
>>
>> The goal is to get a 3d version of my original 2d plotter here:
>>
>> http://webpages.charter.net/appcore/fractal/field/
>>
>> :^)
>
> Yes very nice i was thinking doing some 3D myself, but no openGL just native javascript.
>

Thank you. FWIW, and IMVHO, WebGL is actually not that bad at all.

;^)

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


#30007

From"Chris M. Thomasson" <nospam@nospam.nospam>
Date2016-03-15 13:30 -0700
Message-ID<nc9ree$5u4$1@gioia.aioe.org>
In reply to#29881
> "Chris M. Thomasson"  wrote in message news:nbsoqm$1ua$1@gioia.aioe.org...

[...]

FWIW, here is another experimental vector field line “proof
of concept” test I am working on. This one happens to have
dynamic properties wrt the actual field properties. The
dynamic aspect is used for real time animation:

http://funwithfractals.atspace.cc/ct_gfield_test/ct_3dgfield_anime_test

After clicking on the link above, you should see a rotating
unit cube in white, along with two field line “clusters” in
red and yellow. The lines should be animating back and forth
between independently animated repelling and attracting mass
points that are not visible, but you can see the lines point
toward them when there are in attraction mode. FWIW, they are
at points (-1.0, 0.0, 0.0), and (1.0, 0.0, 0.0) respectively.
The actual field lines animate along the y axis in the middle
of the unit cube. Does this work for you?

BTW, sorry for asking everybody to act as “testers”, however,
I really appreciate any feedback: good or bad. If you have any
problems, I would love to hear about them. Thank you all!  :^)

One unfortunate point wrt the current crude, kind of crappy
code... I made the dimensions of the WebGL canvas small, and
this is hard coded. BAD! The end result of these experiments
is going to be controlled by a GUI. ;^) 

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


#30011

From"Michael Haufe (TNO)" <tno@thenewobjective.com>
Date2016-03-15 21:15 -0700
Message-ID<72d1f844-04e1-4a64-98fb-a2b5bfce27b8@googlegroups.com>
In reply to#29881
On Thursday, March 10, 2016 at 3:26:57 PM UTC-6, Chris M. Thomasson wrote:
> FWIW, I have uploaded:
> 
> http://funwithfractals.atspace.cc/ct_gfield_test/
> 
> a highly crude initial version of my 3d gravitational
> field explorer. This one does not have any user interface.
> I just posted it to see if it works on your various
> current setups. You should see a rotating field line
> rendering. Can you run it?  Thanks!
> 
> Also, it does not yet have equipotential lines. I am
> almost done converting my OpenGL code for it over to WebGL.
> 
> The goal is to get a 3d version of my original 2d plotter here:
> 
> http://webpages.charter.net/appcore/fractal/field/

I'm curious if you're aware of and/or have tried three.js [1]. I think it's preferable to abstract the WebGL away and program in a single language, but YMMV.

[1] <http://threejs.org/>

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


#30021

From"Chris M. Thomasson" <nospam@no-spam.ws>
Date2016-03-16 12:13 -0700
Message-ID<nccb9q$1ubf$1@gioia.aioe.org>
In reply to#30011
On 3/15/2016 9:15 PM, Michael Haufe (TNO) wrote:
> On Thursday, March 10, 2016 at 3:26:57 PM UTC-6, Chris M. Thomasson wrote:
>> FWIW, I have uploaded:
>>
>> http://funwithfractals.atspace.cc/ct_gfield_test/
>>
>> a highly crude initial version of my 3d gravitational
>> field explorer. This one does not have any user interface.
>> I just posted it to see if it works on your various
>> current setups. You should see a rotating field line
>> rendering. Can you run it?  Thanks!
>>
>> Also, it does not yet have equipotential lines. I am
>> almost done converting my OpenGL code for it over to WebGL.
>>
>> The goal is to get a 3d version of my original 2d plotter here:
>>
>> http://webpages.charter.net/appcore/fractal/field/
>
> I'm curious if you're aware of and/or have tried three.js [1]. I think it's preferable to abstract the WebGL away and program in a single language, but YMMV.
>
> [1] <http://threejs.org/>

I am aware of it, but never actually tried it. FWIW, I want to learn 
more of the "bare bones" of WebGL programming. Therefore, a higher level 
library like three.js is not really going to help me.

Thanks.

[toc] | [prev] | [standalone]


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


csiph-web