科学网

 找回密码
  注册

tag 标签: WebGL

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

[转载]3Dmol.js -- 用WebGL进行分子可视化
chinapubmed 2019-6-2 10:50
3Dmol.js是一个现代的、面向对象的JavaScript库,它使用最新网络技术提供交互式、硬件加速的分子数据三维表征,不需要安装浏览器插件或Java。 3Dmol.js为开发者提供了一个全功能API,以及一个简单的声明式接口,让用户在网站上容易地共享和嵌入分子数据。 A:3Dmol.js渲染的3D图;B:JavaScript代码;C:HTML中;D:URL方式;E:与其他软件的比较 特征: 支持pdb, sdf, mol2, xyz和cube格式 并行分子表面计算 球、棒、线、cross, cartoon和surface样式 基于原子属性的选择和样式标记 可点击交互式 几何形状,包括球体,arrows 下载: http://3Dmol.csb.pitt.edu 语言:JavaScript 时间:20141212 参考: 3Dmol.js: Molecular Visualization with WebGL
个人分类: 软件|4676 次阅读|0 个评论
Google搜索画二元方程
热度 2 xuyingxiao 2012-4-2 20:14
Google新推出的功能,只要在Google的搜索框中输入一个二元方程,就能将这个方程显示在三维空间中,可以用鼠标自由转动翻看三维图形。由于用的是WebGL技术,所以需要支持WebGL的浏览器(如Firefox,Chrome,Safari) 前三个是我尝试修改网上的公式得到的效果。 之后是网上搜集的公式尝试后的效果 后记是再自己摸索着尝试的一些公式。 (-sqrt(1-x^2-(y-abs(x))^2)), x is from -1 to 1, y is from -1 to 1.5, z is from -1 to 1 (-sqrt(1-x^2-(y-abs(x))^2))+(-sqrt(1-x^2-(y-abs(x))^2)), x is from -1 to 1, y is from -1 to 1.5, z is from -1 to 1 (-sqrt(1-x^2-(y-abs(x))^2))+x^2, x is from -1 to 1, y is from -1 to 1.5, z is from -1 to 1 (-sqrt(1-x^2-(y-abs(x))^2))*cos(30*((1-x^2-(y-abs(x))^2))), x is from -1 to 1, y is from -1 to 1.5, z is from -1 to 1 tanh(y(y^4+5x^4-10(x^2)(y^2))/(x^2+y^2)^4) sqrt(x*y+y*y)+3*sin(sqrt(x*x+y*y))+5 from -20 to 20 100-3/(sqrt(x^2+y^2))+sin(sqrt(x^2+y^2)), x is from -10 to 10, y is from -10 to 10, z is from 85 to 101 100-3/sqrt(x^2+y^2)+sin(sqrt(x^2+y^2))+sqrt(200-x^2+y^2+10*sin(x)+10*sin(y))/1000, x is from -15 to 15, y is from -15 to 15z is from 90 to 101 100-3/sqrt(x^2+y^2)+sin(sqrt(x^2+y^2))+sqrt(200-x^2-y^2+10*sin(x)+10*sin(y))/1000, x is from -15 to 15, y is from -15 to 15z is from 90 to 101 sin(5.5x)*cos(5*y)+x*x+1 x is from -1 to 1, y is from -1 to 1, z is from 0.1 to 2.8 (x^2+((3 y)/2-(x^2+abs(x)-6)/(x^2+abs(x)+2))^2)-36 后记: 试验x^2+y^2 得到: 试验 1/(x^2+y^2) 得到 两个叠加,试验 x^2+y^2+1/(x^2+y^2) 得到 放大,只显示-1,1区间,试验 x^2+y^2+1/(x^2+y^2), x is from -1 to 1, y is from -1 to 1 得到 将分母增加些函数运算,试验 x^2+y^2+1/sqrt(x^2+y^2), x is from -1 to 1, y is from -1 to 1 得到
个人分类: 生活|7797 次阅读|4 个评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-23 15:19

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部