前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >3.1.3 绘制三维Contour图的思路

3.1.3 绘制三维Contour图的思路

作者头像
周星星9527
发布2018-08-08 15:47:48
9220
发布2018-08-08 15:47:48
举报

2007年秋,开始接触数值计算,看到Contour图形,我觉得很神奇,很好看。强烈的好奇心驱使下,零零碎碎看了相关文献,都看不懂。大约2009年深秋,我读到的最早且能看懂的关于Contour绘制的文章,也是我写Contour的最主要参考:

Contour Plotter and 3D Function Grapher Together - the Applet and the Source Code

We present here another example how our custom ActionScript 3 classes in the package flashandmath.as3.* can be used to build advanced graphers and math applets. We show an applet which combines a contour diagram plotter and a 3D grapher. The user can input function formulas and variables ranges. The applet uses our custom classes: MathParser, GraphingBoard, GraphingBoard3D, and many helper classes. Click either of the images below to open the applet in a separate window.

The image above shows the contour map part, the one below the 3D grapher part.

因为代码量较多,公众号限制5万字。上图关键代码查看我的CSDN博客文章:

https://blog.csdn.net/xsolver/article/details/8913567

Download all 'fla' and 'as' files for this tutorial in the following compressed folder. The folder also contains pdf guides describing methods properties of the custom AS3 classes in the flashandmath.as3.* package..

  • contours.zip

The source code for the applet is well-commented and should be easy to read and modify.

You will find many more examples as well as extensive discussion of the classes in our book:Flash and Math Applets: Learn by Example.

话说这些技术貌似已经过时了,其实也很有必要去看,这样你会理解它的工作原理:包括三角单元剖分,染色、Z排序,3D图形在2D平面显示的算法等。

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2018-07-25,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 传输过程数值模拟学习笔记 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档