Animation

roobschoobs37's picture

My Star

this is my first creation

Andy's picture

Rotating ElevationGrid

Rotating ElevationGrid

Someone asked about an ElevationGrid rotating about its center in the X3DOM User Mailling List, so I created this one using VRMath2 Editor to demonstrate that it is quite easy to create one. The idea in this demo is to have the center of ElevationGrid at 0,0,0 then move the ElevationGrid into an empty Transform node. The OrientationInterpolator is then applied on to the outer Transform node.

Andy's picture

Sundial simulation

Sundial

Some weeks ago, I have implemented the lighting components in VRMath2 Editor. There are three different lights: point light, directional light, and spotlight. In this blog, I am using the directional light to simulate the sunlight for casting a shadow on a sundial.

Andy's picture

One snow

One Snow

For the Holiday Season Challenge, I thought of creating some animating (flying) snowflakes. So I started with creating one piece of snow. My idea is that this snow should fall from about 30 meters above ground. It should fall with some acceleration but not to fast because it is light. It should also spin a little while falling. For an easy beginning, I used a scaled rectangle to be the snow. If this works, this snow can be easily transformed into a more beautiful snowflake, and it can be multiplied to create many falling snowflakes.

Andy's picture

Basic animation in VRMath2

Animating cube

Animation in VRMath2 is still in the development stage. I have created some Logo commands to achieve some basic animation. Animation in Logo can be very powerful because it is very easy to move the turtle around in 3D space and collect its position and orientation for animation.

Here is a basic introduction of animation in VRMath2. The whole animation framework will be revised and more GUI will be developed to enable easy creation of animations.

Andy's picture

The infinite mobius space

Man walking in Mobius space

What if the world is a Mobius ring? Then would this man even walk to the end of the world?

A normal wrist band has inside and outside faces. If we cut the band, twist it 180 degrees then reconnect the band, then we have created a Mobius ring (or Mobius strip). A Mobius ring has only 1 face. You can observe the man walking continuously on the inside to outside, then inside, and outside again and again.....   

Andy's picture

Walking man pacing a sqaure

Walking man

This is a test of animating an inline animation. In my previous walking man blog, I published an x3d file named walkman.x3d. In this blog, I tried to use the inline command to firstly insert the walkman.x3d as a single object (obj_0), then applied animation again onto this object.

The result is very succeesful. cool

Andy's picture

Walking man

Walking man

This is another test of animation in VRMath2. The construction of the man utilises basic 3D primitives including sphere, cone, sylinder, and cube. It is basically a trial and error approach to scale and apply material settings onto those 3D primitive objects. 

Animation is then applied to the arms and legs by careful considerations about their positions and orientations of movements.

Andy's picture

Rotating Earth orbiting the Sun

Rotating Earth

This is a simple Earth and Sun model. This model is not to scale in terms of size and distance.

The rotation and revolution speeds are roughly to scale. The Earth in this model is rotating at 1 second per rotation. It is also revolving at 365 seconds per revolution.

The Earth has a tile of 23.5 degrees on its rotation axis to the orbiting plane. There are also some background stars (points). This model can be easily created using VRMath2 Editorsmiley