Plot mesh as animated interactive html

版本 1.11.0.0 (250.9 KB) 作者: Benjamin I
Convert a matlab mesh to a transforming 3D figure on the web
723.0 次下载
更新时间 2017/2/6

编者注: This file was selected as MATLAB Central Pick of the Week

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

Issues:
If you can't view the example then your system/drivers might not support WebGL. Please try this link to check that your system is supported and fix any configuration:
https://get.webgl.org/

引用格式

Benjamin I (2024). Plot mesh as animated interactive html (https://github.com/benjaminirving/matlab-to-html-plot-animated), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Call Web Services from MATLAB Using HTTP 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.11.0.0

update title
add issues section

1.1.0.0

linked to github

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库