20 Impressive Examples for Learning WebGL with Three.js

In this informative article, there are an accumulation of demonstrations, tutorials and resources which will inspire and motivate you to master more about the collection.

Experiments and Demos

The impressive demos which you see here are created using the Three.js collection and WebGL as a renderer. You can utilize WebGL straight, but selecting Three.js makes development easier and leads to just a fraction of this rule. Here are a few regarding the plain things that are possible with the library:

1. Nucleal

Nucleal is a WebGL experiment, powered by the Three.js. It breaks photos down into thousands of particles that are transformed by physics. Any combination can be chosen by you of photo, speed and effects. The animations operate efficiently that is much more impressive.

Nucleal

Nucleal

2. Lights

Lights is an incredible experience that is visual powered by Three.js, which syncrhonizes colors and shapes to music. You fly through a scene filled with colorful shapes, which you can interact with by clicking. Headphones are recommended.

Lights

Lights

3. Just A Reflektor

“Just A Reflektor” is an film that is interactive lets you throw a virtual projection on your desktop display by supporting your smart phone in-front of one’s computer’s cam. By doing this, you control most of the artistic impacts within the experience by going your phone or tablet through the space that is physical you. See some of the amazing effects on the tech page, and the behind the scenes video.

Just A Reflektor

Just A Reflektor

4. Arms Globe

Arms Globe is a visualization experiment which overlays the global globe trade of little hands and ammo together with a model associated with planet which you are able to turn in 3D room. You are able to filter the info set by years and kinds of ammo. The visualization is extremely impressive and operates efficiently.

Arms Globe

Arms Globe

5. Bing Street View Hyperlapse

This experiment downloads Bing Streetview information between two locations, and turns it into an animation associated with journey. You are able to pause and have a look around, or perhaps you can drag a target regarding the map regarding the top-right which the digital camera shall follow. Give it a few minutes to load or watch this video to see it in action.

Google Street View Hyperlapse

Google Street View Hyperlapse

6. Find Your Way To Oz

This is a promotional website for the Oz the Great and movie that is powerful. It combines artwork that is beautiful HTML5 and WebGL into immersive experience. It takes place in the circus from the beginning of the movie. You can interact with the environment and use your web cam.

Find Your Way To Oz

Find Your Way To Oz

7. Google Zeitgeist

Google’s Zeitgeist for 2012 included a WebGL powered world map which presented the search trends and important events from the year that is past. Click on the “Watch the

Google Zeitgeist

Google|in review” button to see it.

Google Zeitgeist

Google year” class=”synonym”>in review” button to see it.

Google Zeitgeist

Google year

Zeitgeist

8. Ironbane

Ironbane is a massively multiplayer online game powered by WebGL and Three.js. You can collect items, interact with other players and explore the world that is open. A retro is followed by the game style inspired by Minecraft and runs smoothly. The game is open source and both the server and client part are written in JavaScript. You are able to play without starting a merchant account,

Ironbane

Ironbane

9|for yourself.

Ironbane

Ironbane

9 so you can quickly try it” class=”synonym”>for yourself.

Ironbane

Ironbane

9 so you can quickly try it. Cube Slam

Cube Slam is my favorite Three.js powered game from this list. It is a spin of the pong that is classic, but moves it into 3D area. You’ll play against friends or bear that is computer-controlled. The game uses WebRTC so a video is seen by you of your friend’s cam. his blog post by one of the creators.

Cube Slam

Cube|The scenes, read through this blog post by one of the creators.

Cube Slam

Cube for a behind” class=”synonym”>The scenes, read through this blog post by one of the creators.

Cube Slam

Cube for a behind Slam

10. HexGL

HexGL is a futuristic, fast-paced racing game built using HTML5, JavaScript and WebGL, with the help of Three.js. It is a tribute to the wipeout that is original F-Zero series. It really is a game that is graphically heavy approaching the level of desktop games from a few years ago. Luckily, you can lower the known degree of information before playing. Here is a video through the game writer describing just how he made the overall game.

HexGL

HexGL

11. Chrome Around The Globe Maze

This is a Chrome Experiment by Bing that allows you to turn any website into a 3 maze that is dimensional which you move a ball. What is even cooler, is that the ball is controlled from your smartphone.

Chrome World Wide Maze

Chrome World Wide Maze

12. HelloRun

HelloRun is a WebGL game powered by Three.js that puts you in the hull of a spaceship and forces you to find your way by jumping through hurdles. The game has great visuals and progressively speeds up and becomes more difficult.

HelloRun

HelloRun

13. Hello Racer

Hello Racer is an impressive visualization of a Formula 1 car that is racing running on WebGL and Three.js. It features reflections that are life-like shadows. You can even drive it around with the WASD keys.

Hello Racer

Hello Racer

14. 360 Car Visualizer

This is another experiment that features car that is detailed. This time around you’ll select the motor car model and color. The colors are applied dynamically and all the textures are updated to match.

360 Car Visualizer

360 Car Visualizer

15. Google Maps Cube

Google Maps Cube is a game that presents you with a maps that are 3D. Your work would be to navigate a ball through the town and achieve checkpoints.

Google Maps Cube

Google Maps Cube

16. CSS3D Periodic Table

This is an impressive demo of Three.js. Rather than WebGL, this test utilizes CSS3D to make the chemical elements containers. You are able to choose from four designs: dining table, sphere, helix and grid.

CSS3D Periodic Table

CSS3D Regular Table

17. WebGL Globe

The WebGL Globe is a visualization experiment that, like the hands world, presents information overlayed on a globe drifting in 3d room. This instance is focused around populace by town, you could see variations with various information sets here.

WebGL Globe

WebGL Globe

18. Obsidian

Obsidian is a WebGL demo that synchronizes shapes that are floating colors to music.

Obsidian

Obsidian

19|This is not a video – the effects are generated in real time.

Obsidian

Obsidian

19 although there is a slider at the bottom” class=”synonym”>This is not a video – the effects are generated in real time.

Obsidian

Obsidian

19 although there is a slider at the bottom. Indra’s Net

This demo presents a multidimensional internet of raindrops that mirror one another together with globe around them. Despite the fact that a tremendously many things is included, the rendering remains quite quick.

Indra's Net

Indra’s Net

20. Earth Maker

Planet Maker is a web software running on WebGL and Three.js that lets you create genuine or planets that are imaginary. You can choose from several surface texture options, tweak the lighting and atmosphere, add or remove clouds, upload your own imagery, or wrap a ring around them.

Planet Maker

Planet Maker

Bonus: WebGL Nyan Cat

Frankly, no collection of WebGL resources is complete without a cat that is nyan. Enjoy!

WebGL Nyan Cat

WebGL Nyan Cat

Find also more impressive WebGL demos here:

Tutorials and Examples

Now you are obsessed about Three.js, where would you begin? Listed here is an accumulation of tutorials, examples, presentations and videos to help you get started.

Getting Started

  • Introduction to WebGL – this is a presentation with real time rule examples which will familiarizes you with WebGL and Three.js.
  • Getting Started With Three.js – a great tutorial which explains the fundamentals of 3D modeling utilising the collection. You can easily read and beginner friendly.
  • Getting Started – this is actually the official starting tutorial. The basics are explained by it for getting Three.js running.
  • Creating Particles With Three.js – another tutorial by Paul Lewis, in which he explains how to develop a cool particle system (demo).
  • WebGL Academy – if you wish to learn WebGL that is pure Three.js, This step can be followed by you by step guide. Here you write code in an editor and see a real-time preview of the result.

Examples

  • Basic Three.js Examples – These are beginner-friendly examples, that are easy to follow and well-documented. Start with this page once you’ve completed the getting started posts.
  • Three.js examples by Stemkoski – This page might look it actually quite relevant like it came out of the late 90s, but. It hosts a collection that is large of.js examples with thoroughly commented source code, which cover a broad range of topics.
  • Official Three.js Examples – These examples demonstrate every part of the library. Unfortunately the source code is lacking on comments and might be difficult to follow at times.

Videos

More Resources

  • The official Three.js reference – you should bookmark this and have it opened in a tab at all times.
  • The official wiki – contains a FAQ section and links to various articles and other resources that you might find useful.
  • Learning Three.js – this is a blog dedicated to publishing Three.js tutorials. Each post explains how to make one of the demos that is popular the thing is through the entire web.
  • Three.js Editor – this will be a code editor for three.js with real time preview. It can be used by you to quickly try out things with the library. You can share others and save your progress to your experiments.
  • Alternative documentation – that is an autogenerated index of all of the methods within the collection.
  • Google+ page – right here there is fresh news and links in regards to the collection.
  • SO questions, tagged with three.js. Examining the most used concerns and responses now could save you some time headaches down the road.
  • WebGL Subreddit – this isn’t concentrated just on three.js, it is well worth searching however.

Do you understand of other resources which should here be included? Share them into the remark area.

Leave a comment

Your email address will not be published.