20个不可思议的 WebGL 示例和演示

WebGL 是一项在网页浏览器呈现3D画面的技术,有别于过去需要安装浏览器插件,通过 WebGL 的技术,只需要编写网页代码即可实现3D图像的展示。WebGL 可以为 Canvas 提供硬件3D加速渲染,这样 Web 开发人员就可以借助系统显卡来在浏览器里更流畅地展示3D场景和模型了。在这篇文章中20个不可思议的 WebGL 示例来增强你对于这个新技术的理解。

1. Aquarium

Image Source:www.webglsamples.org

Created by Greggman and Human Engines. The aquarium runs almost entirely based on a clock.That means the position of the camera and every fish will be the same across machines if their clocks are in sync. When in networked mode each machine keeps its clock in sync by periodically asking the server for the current time.

2. 3 Dreams of Black

Image Source:www.ro.me

A Semi-Intereactive film authored by Chris Milk. It was developed using technology developed by Google and other sources.

It works with chrome mixing 2D and 3D computer graphics, showcasing the song “Black” by Danger Mouse and Daniel Luppi ,with Norah Jones and Jack White.

3. Cube

Image Source:www.playmapscube.com

A WebGL innovative game inspired with Google maps technology. It consists of elements you see in Google Maps and analog labyrinth games combined with amazing controls that can break an experience.

4. Chemdoodle

Image Source:www.web.chemdoodle.com

Chemdoodle is a scientific visualization which lets you pick one of a number of medicines and see a 3D display of its chemical structure on compatible browsers, developed by iChemLabs.

5. Chrysaora

Image Source:www.aleksandarrodic.com

A dynamic Jellyfish WebGL demo built with Vladimir Vuki?evi?’s mjs matrix library. It showcases simulated skeletons, partial server-side simulation and synchronization with WebSocket, and camera facing a particle system and volumetric light effect.

6. WebGL Bookcase

Image Source:www.workshop.chromeexperiments.com

Google Books’ new flashy interface styled after a helix. Within the spiral books are sorted by subject and clicking on any book takes you to the entry in Google Books.

7. Just a Reflektor

Image Source:www.justareflektor.com

Just a Reflektor is a band Arcade Fire music video which was collaborated by Google. Using your mouse you can adjust various real-time filters and effects. This WebGL will require a webcam or simply your mouse.

8. WebGL Earth

Image Source:www.webglearth.com

An open source software enabling exploration, zooming and “playing” with the 3D globe in a web browser. The project is sustained through the support and cooperation of the developer community.

9. 3Dtin

Image Source:www.3dtin.com

3Dtin is an easy to use tool for creating shapes with a natural voxel-oriented 3D pixel approach, with the feature to export your project in 3D printing services.

10. The Biodigital Human

Image Source:www.biodigitalhuman.com

The BioDigital Human is a virtual 3D body that brings to life thousands of medically accurate anatomy objects and health conditions, in an interactive Web-based platform.

11. WebGL Rubik’s Cube

Image Source:www.randelshofer.ch

A Rubik’s Cube applets from Java to WebGL developed by Werner Randelshofer. Parts of the code are from the WebGL demo repository. Codes use in this WebGL are copyrighted by Apple Inc. and by Google Inc. and is used under permission.

12. GLGE

Image Source:www.glge.org

A framework for making WebGL developed by by Paul Brunt. It is a javascript library intended to ease the use of WebGL; which is basically a native browser javascript API giving direct access to openGL ES2, allowing for the use of hardware accelerated 2D/3D applications without having to download any plugins.

13. Ctrl+[P]aper

Image Source:www.grouek.com

Digital studio Grouek designed this Web GL website, that allows anyone to create its paper toy in 3 easy steps. Once you’re done, print the PDF, cut, fold and glue following instructions. In less time than you think, a beautiful, unique, self-created paper toy will proudly stand on your desktop.

14. A holiday message

Image Source:www.itsamessage.com

Developed by @thespite and @mrdoob. It will first require you to put on your address before proceeding. Once entered you’ll see a beautiful 3D scene that has a holiday greetings on it, where as you can move along using your mouse to view the whole 3D models.

15. Materials: Cars

Image Source:www.alteredqualia.com

With this WebGL you can choose to view 3D looks of Bugatti Veyron, Lamborghini Gallardo, Ferrari F50 and Chevrolet Camaro in your browser. Pick your ride and enjoy the view. Guest what, you can even choose their colors.

16. Quake 3

Image Source:www.media.tojicode.com

Developed by Brandon Jones, it is an impressive WebGL game demo complete with music. You can play it by just using your keyboard and mouse.

17. WebGL Image Filter

Image Source:www.evanw.github.io

A WebGL graphic editor application by Evan Wondrasek ,with a smooth and fast interface. You can play around with filter effects like the brightness and contrast, similar to the features you see in Photoshop.

18. From Dust

Image Source:www.bing.com

A WebGL game originally released a couple years ago on some traditional gaming platforms. Ubisoft has ported this game to WebGL and contains amusing and amazing effects and controls on it.

19. Acko.net

Image Source:www.acko.net

A WebGL that offers 3D logo on the header with a basic setting of a site when scrolled down. It offers a possibility that WebGL can be used as a practical setting to a website or software application.

20. WebGL Terrain

Image Source:www.alteredqualia.com

A WebGL demo with dynamic procedural terrain using 3d simplex nois. It features birds from ro.me and the background sound by Kevin Maclead


转载:20个不可思议的 WebGL 示例和演示 

  • 4
    点赞
  • 28
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
### 回答1: WebGL 示例 zip 是一个压缩文件,其中包含了一些用于展示 WebGL 技术的示例代码和资源。WebGL 是一种基于 JavaScript 的图形渲染技术,可以在网页上实现高性能的 3D 图形渲染。WebGL 示例 zip 提供了一些实际的代码样例,可以帮助开发者更好地理解和使用 WebGL 技术。 WebGL 示例 zip 中通常包含了一些 HTML 文件、JavaScript 文件和一些资源文件,如纹理图片、着色器代码等。这些示例代码能够展示出一些常见的 WebGL 功能和效果,如加载和渲染 3D 模型,实现光照效果,创建交互式的 WebGL 应用等。 使用 WebGL 示例 zip 可以方便地浏览和学习各种 WebGL 技术的实现方法和应用场景。可以通过解压缩示例代码,打开其中的 HTML 文件来查看示例效果。在每个示例中,可以看到对应的 JavaScript 代码,了解实现该效果的具体方法和代码结构。 通过参考和学习这些示例代码,开发者可以更好地理解 WebGL 技术的原理和应用,有助于快速上手和开发自己的 WebGL 应用。同时,WebGL 示例 zip 中的代码和资源也可以作为自己项目中的参考和借鉴,加快项目的开发进展。 总之,WebGL 示例 zip 提供了一种便捷的方式,帮助开发者学习和应用 WebGL 技术。以其丰富的示例代码和资源为基础,可以加速开发者对 WebGL 的理解和实践。 ### 回答2: WebGL 是一种用于在Web浏览器中呈现3D图形的JavaScript API。WebGL 示例 Zip 是一种以压缩包形式提供的WebGL示例合集。这些示例通常包含一些基本的3D图形渲染技术和效果的实现,旨在帮助开发者更好地了解和学习WebGL的使用。 WebGL示例Zip通常包含一个或多个HTML文件、JavaScript文件和图像文件。通过解压缩这个压缩包,开发者可以在本地环境中运行这些示例,并通过查看和修改源代码,学习如何使用WebGL API来创建各种3D场景和效果。 WebGL示例Zip可供初学者和有经验的开发者使用。对于初学者来说,这些示例提供了一个直观的教学工具,可以通过运行和改变示例代码来学习不同的WebGL技术和概念。对于有经验的开发者来说,这些示例可以作为参考和灵感的源泉,帮助他们实现自己的创意和项目。 WebGL示例Zip通常涵盖了一系列主题,例如基本3D物体渲染、光照和阴影、纹理贴图、相机和视角控制等。通过研究这些示例,开发者可以学习如何使用WebGL API中的不同函数和方法来实现这些效果。通过调整和修改示例代码,开发者还可以尝试自己的创意和实现独特的3D效果。 总而言之,WebGL示例Zip是一个有用的资源,可以帮助开发者学习和掌握WebGL的基础知识和技术。通过实践和改变示例代码,开发者可以逐渐探索和理解WebGL在Web图形编程中的应用。 ### 回答3: WebGL示例ZIP是一种压缩文件,其中包含了用于展示WebGL技术的示例代码和相关资源。WebGL是一种基于JavaScript的功能强大的图形库,它可以在网页浏览器中实现3D图形渲染。 当您下载WebGL示例ZIP文件后,您可以将其解压缩到您的计算机上。解压后,您将会看到一些文件和文件夹。通常,这些文件包括HTML文件、JavaScript文件和资源文件(如图像文件、模型文件等)。 在这些示例代码中,您将会发现一些用于创建和渲染3D图形的JavaScript函数和方法。这些示例代码通常包含一些基本的3D图形操作,如创建立方体、球体、平面等等。您还可以在这些示例代码中找到一些用于调整和控制3D图形效果的参数,如旋转、缩放和光照等。 通过运行这些示例代码,您可以在网页浏览器中实时查看并交互这些3D图形。您可以通过键盘和鼠标操作来旋转、平移和缩放这些图形,或者改变其外观和材质。 WebGL示例ZIP提供了一个学习和实验WebGL技术的良好起点。您可以通过查看和分析这些示例代码,了解WebGL编程的基本原理和技巧。同时,您也可以使用这些示例代码作为基础,自己创建和组合各种复杂的3D图形效果。 总之,WebGL示例ZIP是一个方便的资源包,它提供了丰富的示例代码和资源,帮助您更好地学习和掌握WebGL技术。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值