Code covered by the BSD License  

Highlights from
Animated mesh on the web

5.0

5.0 | 2 ratings Rate this file 13 Downloads (last 30 days) File Size: 149 KB File ID: #41808
image thumbnail

Animated mesh on the web

by

 

Convert a matlab mesh to a transforming 3D figure on the web

| Watch this File

File Information
Description

This script allows a deforming mesh to be exported to the web. The code creates html files in a subfolder called htmlfigs that can be opened in a browser.

The mesh can be rotated and zoomed in the browser, and transforms between two sets of input vertices.

Example of the output:
http://www.birving.com/other/Example2.html
(rotate the mesh to see if from a better angle)

See demo1.m and demo2.m to test it out.

This script creates html files that use the awesome x3dom library and require webgl. This is only supported by recent versions of chrome, firefox, opera and safari. IE does not support webgl.

Developed from:
http://www.mathworks.com/matlabcentral/fileexchange/40942-simple-3d-mesh-to-web-converter

Inspired by:
http://www.mathworks.com/matlabcentral/fileexchange/21944-animated-gif

Let me know if you find any issues or have any ideas...

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
22 May 2013 Benjamin I

Thanks Sven and Scott. Useful comments. Will see what I can do about axes and octave compatibility.

22 May 2013 Sven Koerner

Very cool work. It is possible to get axis in the diagram?

21 May 2013 Scott Richardson

Wow this is awesome Benjamin. I just with I could get it to work with Octave.

Contact us