[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.javascript

3d Highly Experimental Gravitational Field Plotter...

Chris M. Thomasson

3/10/2016 9:27:00 PM

FWIW, I have uploaded:

http://funwithfractals.atspace.cc/ct_gf...

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/frac...

:^)
6 Answers

Chris M. Thomasson

3/10/2016 9:31:00 PM

0

On 3/10/2016 1:26 PM, Chris M. Thomasson wrote:
> FWIW, I have uploaded:
>
> http://funwithfractals.atspace.cc/ct_gf...
>
> 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/S...

;^)

JT

3/11/2016 7:55:00 AM

0

Den torsdag 10 mars 2016 kl. 22:26:57 UTC+1 skrev Chris M. Thomasson:
> FWIW, I have uploaded:
>
> http://funwithfractals.atspace.cc/ct_gf...
>
> 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/frac...
>
> :^)

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

Darren Jackson

3/15/2016 8:31:00 PM

0

> "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_...

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. ;^)

Chris M. Thomasson

3/15/2016 8:34:00 PM

0

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_gf...
>>
>> 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/frac...
>>
>> :^)
>
> 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.

;^)

Michael Haufe (\"TNO\")

3/16/2016 4:16:00 AM

0

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_gf...
>
> 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/frac...

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://threej...

Chris M. Thomasson

3/16/2016 7:14:00 PM

0

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_gf...
>>
>> 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/frac...
>
> 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://threej...

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.