1. ## fun with webgl

I have two interactive webgl applications at http://mysite.verizon.net/mwscott64/ that you might find amusing. One deals with Einstein's Special Theory of Relativity and was my entry in the mysteriously absent GL64K competition. The other is an interactive version of a famous illusion that I adapted from some code I presented at the 2002 SIGGRAPH convention.

2. ## Re: fun with webgl

Hey, nice work trying to explain interactively what the most weird & confusing (yet proven) theory of the human history is about

4. ## Re: fun with webgl

Does the projectil change its mass as it approaches the speed of light.
To be honest I don't undertsand your experiment.
But is very nice to have people doing so interesting stuff.

5. ## Re: fun with webgl

A particle can only be said to moving at near the speed of light relative to an observer. There is no absolute sense of a particle moving at near the speed of light. There is a absolute sense of how much rest mass a particle contains.

When people say that a particle becomes more massive as it approaches the speed of light it in in reference to the conservation of momentum. In other words if you tried to measure how massive the particle was by the results of a collision with a stationary particle, the answer you get using Newtonian conservation of momentum is larger than the rest mass of a particle. My animation uses the relativistic equations for computing the particle paths after the collision so in some sense the particles do become more massive near the speed of light.

In the animation when a stationary particle splits into two smaller particles the rest mass sum of the two particles is smaller that the rest mass of the single particle before the split. The split can only happen because some of original particle mass was converted into energy. This converted mass manifests itself as the movement of the previously station particle parts. Other events in the animation result in part of a particles mass being converted into a photon of light and some motion change in the particle that emits the photon.

6. ## Re: fun with webgl

Hi drteseract, i'm really amazed w/ your applications especially, The Staircase Illusion. such a great job. can you teach me how to do so? i'm really interested to learn it. fyi i'm newbie w/ webGL. really appreciate for your respond.

7. ## Re: fun with webgl

Your best first step is to master javascript and webgl. The lessons at http://learningwebgl.com/blog/ are a good place to start. My applications consist mostly of adding some custom mathematical modeling on top of a foundation derived from my exposure to javascript, opengl, and webgl.

I have considered doing other webgl applications based on other optical illusions present in the drawings of M.C. Escher, but I am in a time crunch from current job.

Good Luck with you efforts.

8. ## Re: fun with webgl

My applications consist mostly of adding some custom mathematical modeling on top of a foundation derived from my exposure to javascript, opengl, and webgl.
Seem like I am still new to those, can I create the modelling objects in open-source 3D computer graphics software, e.g Blender.org and Maya Autodesk, then export to WebGL? How?

Does anyone know of a way in which I can deploy a WebGL app as a native Android/iOs (mobile app)? Someone suggest me to try Phonegap [ http://phonegap.com/ ] but I wondering if Phonegap can support WebGL, as it uses the platform's Webkit.

9. ## Re: fun with webgl

Android development supports opengl es http://developer.android.com/guide/topi ... pengl.html
Android applications can run on android phones and tablets. Apple products are a different world.

The 3D part of webgl is identical to opengl es, the only difference is that android development is java based while webgl is javascript based. I personally find java to be a superior development language, especially with the great support that is provided by the Eclipse IDE.

I found a very interesting vendor site for Android devices at http://www.flydolphin.com/. I am treating myself to this http://www.flydolphin.com/ainol-novo7-a ... p4851.html tablet for Christmas and will try to create android application versions of my webgl applications. I have no knowledge on the quality of this product but the hardware specs look good.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•