# 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.

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

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.

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.

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.

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.