Earth Cross Section

  • Email
  • Sharebar
  • Email
Andy's picture

In the X3DOM mailing list, there was a discussion about constructing solid geometry. One application of solid geometry is to model the cross section of Earth. Unfortunately, solid geometry is not supported in X3DOM. However, the cross section can be achieved by using other geometry available in X3DOM. Here is an example.

The geometry nodes used to achieve the above model are DISH and PIE, there are not included in the normal x3dom.js but as extra components in Geometry2D.js and Geometry3DExt.js, which can be downloaded from In VRMath2 I have included them by default. 

I construct the above Earth cross section in my VRMath2 Editor using Logo programming language. It is actually quite easy to construct. Interactions and animations such as add shell or remove shell can also be easily added. Leave a comment below and let me know your ideas about what interaction and animation you would like to see. Below are the Logo program to create the Earth cross section 3D world.

The above program can be open in VRMath2 Editor's Logo Editor (get from Window menu). Or you may wish to download the logo and x3d files below.

Filesearth_cross_section.logo  earth_cross_section.x3d


Andy's picture

Another cool cross section model

Here is another cool cross section model by John Carlson at  (using three.js). A x3dom example by John is at

Another interactive model in VRMath2 can be found at


Facebook Comments Box