Collection of three.js (Javascript 3D library) code examples. Update of January 2022 drove. 17 new items.

  1. Three.js Games
Demo image: Grid Icosahedron Refraction

Made with

  • HTML / CSS (SCSS) / JS (TypeScript)

Well-nigh a code

Filigree Icosahedron Refraction

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: 3.js

Author

  • Ricardo Sanprieto

Made with

  • HTML / CSS / JS

Nearly a code

Interactive Particles Text

Interactive particles text create with three.js.

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: yes

Dependencies: 3.js

Writer

  • Stívali Serna

Fabricated with

  • HTML / CSS / JS

About a lawmaking

ThreeJS Animated Rocket

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: yes

Dependencies: three.js

Author

  • Dilum

Made with

  • HTML / CSS / JS

About a code

Xmas Ornaments

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: three.js

Author

  • Yugam

Fabricated with

  • HTML / CSS / JS

Nearly a code

Ghost Card

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: 3.js, dat.gui.js

Demo image: Space Globe - Three.js

Author

  • isladjan

Made with

  • HTML / CSS / JS

About a code

Space Globe - Three.js

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: aye

Dependencies: three.js, simplex-noise.js

Author

  • Fabio Ottaviani

Fabricated with

  • HTML / CSS (SCSS) / JS (Babel)

About a lawmaking

Pendulum

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: gsap.js, three.js

Author

  • Yuki

Made with

  • HTML / CSS / JS

About a code

ThreeJS Cloud & Rain

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: aye

Dependencies: three.js

Author

  • Sikriti Dakua

Fabricated with

  • HTML / CSS (SCSS) / JS

About a code

HOME & Work

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: no

Dependencies: gsap.js, three.js

Author

  • Ethan

Made with

  • HTML / CSS (SCSS) / JS

About a lawmaking

ThreeJS Basic Character Customisation

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: three.js

Demo image: Low Poly Sheepfold With threeJS

Author

  • Yiting Liu

Made with

  • HTML / CSS / JS

Near a code

Low Poly Sheepfold With threeJS

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: iii.js

Demo image: Playlist Artwork For Cover Lover

Author

  • Daniel Givens

Made with

  • HTML / CSS (SCSS) / JS

Most a lawmaking

Playlist Artwork For Cover Lover

Experiment with 3D and shaders to create a playlist visual.

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: yes

Dependencies: three.js

Demo image: What's behind ?

Author

  • Kevin Levron

Made with

  • HTML / CSS / JS (Boom-boom)

Most a code

What's behind ?

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: yes

Dependencies: chroma.js, three.js

Demo image: Product Card - Three JS

Writer

  • Ricardo Oliva Alonso

Made with

  • HTML / CSS / JS

About a lawmaking

Product Card - Three JS

Compatible browsers: Chrome, Edge, Opera, Safari

Responsive: no

Dependencies: three.js

Writer

  • Baron

Made with

  • HTML / CSS / JS

Almost a code

Abandoned Planet

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: yeah

Dependencies: three.js

Author

  • Kevin Levron

Made with

  • HTML / CSS / JS (Boom-boom)

Nearly a code

Interactive 3D Background

This elementary interactive groundwork is fabricated with ThreeJS and a PlaneBufferGeometry animated with Simplex dissonance.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yep

Dependencies: three.js, simplex-noise.js, blush.js

Author

  • Kevin Levron

Made with

  • HTML / CSS / JS (Babel)

About a lawmaking

Page Reveal Effect

Unproblematic 3D reveal result. This simple effect is fabricated with ThreeJS and TweenMax.

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: yes

Dependencies: bootstrap.css, three.js, tweenmax.js

Author

  • Ko.Yelie

Fabricated with

  • HTML (Pug) / CSS (SCSS) / JS

About a code

Shooting star

Your mouse (or finger) will exist a falling star. You lot can alter size, speed, etc. by changing parameters.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: aye

Dependencies: three.js, dat.gui.js

Author

  • Henry Desroches

About a code

Fresnel Refractivity Sphere

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: three.js

Demo image: Mobile VR PolarScene

Author

  • Baron

Fabricated with

  • HTML / CSS / JS

About a code

Mobile VR PolarScene

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: three.js, tweenmax.js

Demo image: Mobile VR Woods Scene

Writer

  • Baron

Made with

  • HTML / CSS / JS

Almost a lawmaking

Mobile VR Woods Scene

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: 3.js, tweenmax.js

Author

  • Matthew Willox

Made with

  • HTML / CSS / JS

About a lawmaking

Displacement Curlicue

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: iii.js

Author

  • Noel Delgado

Fabricated with

  • HTML (Haml) / JS (Babel)

Well-nigh a code

Flying Carrot

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: three.js, tweenmax.js

Author

  • jesper landberg

Made with

  • HTML / CSS (SCSS) / JS (Babel)

About a lawmaking

Manner Concept

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: three.js, tweenmax.js

Writer

  • Fabio Ottaviani

Made with

  • HTML / CSS (SCSS) / JS (Boom-boom)

About a code

Chewing Glue

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: iii.js, tweenmax.js, perlin.js

Demo image: Starfall

Writer

  • Liam Egan

Made with

  • HTML / CSS (SCSS) / JS (Babel)

About a code

Starfall

Uniform browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: yep

Dependencies: iii.js, ccapture.js

Demo image: Snowfall

Author

  • Liam Egan

Made with

  • HTML / CSS (SCSS) / JS (Babel)

Well-nigh a code

Snowfall

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: three.js, ccapture.js

Demo image: Pine Tree

Author

  • Conner

Made with

  • HTML / CSS / JavaScript

About the lawmaking

Pine Tree

3D pine tree with iii.js.

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Dependencies: OrbitControls.js, OBJLoader.js, MTLLoader.js, BVHLoader.js

Demo image: 3D Tree

Writer

  • Conner

Fabricated with

  • HTML / CSS / JavaScript

Almost the lawmaking

3D Tree

Iii.js OBJ tree.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: OrbitControls.js, OBJLoader.js, MTLLoader.js

Author

  • Maxim Leyzerovich

Fabricated with

  • HTML / CSS (SCSS) / JS

About a code

Round

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Responsive: yep

Dependencies: jquery.js, three.js

Demo image: Ripple Mouse

Author

  • Liam Egan

Made with

  • HTML / CSS (SCSS) / JavaScript (Babel)

About the lawmaking

Ripple Mouse

Ripple mouse with 3.js.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: ccapture.js

Demo image: Storm

Author

  • Liam Egan

Made with

  • HTML / CSS (SCSS) / JavaScript (Boom-boom.js)

About the code

Storm

Nigh of the stuff in hither is simply bootstrapping. Essentially it's simply setting ThreeJS upwards so that information technology renders a flat surface upon which to depict the shader. The but thing to see hither actually is the uniforms sent to the shader. Apart from that all of the magic happens in the HTML view nether the fragment shader.

Uniform browsers: Chrome, Border, Firefox, Opera, Safari

Dependencies: ccapture.js

Demo image: Particle Morphing Text

Writer

  • John Healey

Fabricated with

  • HTML / CSS (Less) / JavaScript

About the code

Particle Morphing Text

Particle morphing text with Three.js.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: OrbitControls.js, GeometryUtils.js, TweenMax.js

Demo image: City 3D

Writer

  • Victor Vergara

Almost the code

City 3D

3D urban center - experiment with three.js.

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: constants.js, TweenMax.js

Demo image: Particle Slider

Author

  • Chien-Ju Peng

Made with

  • HTML / CSS (SCSS) / JavaScript (Babel)

Well-nigh the code

Particle Slider

Responsive particle slider (flickity.js) with three.js library.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: flickity.css, flickity.js

Demo image: Raycaster

Author

  • Victor Vergara

About the code

Raycaster

Raycaster - experiment with three.js.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: TweenMax.js, RectAreaLightUniformsLib.js

Demo image: Pacman Concept

Writer

  • Ivan Juarez N.

Made with

  • JavaScript (Babel)

About the code

Pacman Concept

I wanted to see if I could practice a minigame virtually pac-man with a fiddling twist only somehow ended by doing this cube maze with sparking lights and colors. Then I realize It could be used as the game bill of fare.

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Dependencies: EffectComposer.js, UnrealBloomPass.js, perlin.js, Three.MeshLine.js, TweenMax.js

Demo image: Cristal Lands

Writer

  • Nikita Skargovskii

Nearly the code

Cristal Lands

Cristal lands - even so another experiment with three.js library.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: OrbitControls.js

Demo image: Coral Blooms

Author

  • Liam Egan

Fabricated with

  • HTML / CSS (SCSS) / JavaScript (Babel)

About the code

Coral Blooms

Extreme fractal racket distortions. Sort of looks similar coral blooms on the surface of a dark sea. Motility your mouse to increase the speed of the simulation. I would appreciate information technology, if you terminate up using this lawmaking in whatever sort of production situation, that you cite me in your lawmaking and let me know what y'all've used information technology for. I love seeing that people really get apply out of the things that I write, and I don't think it'due south besides much to enquire that I get a citation for my troubles :)

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Dependencies: -

Demo image: Isometric Room

Author

  • Alexia Peresson

Made with

  • HTML (Pug) / JavaScript

About the code

Isometric Room

Isometric room - three.js.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: jQuery.js

Demo image: Stable Curl Noise

Author

  • Tim Severien

Made with

  • JavaScript (Babel)

About the code

Stable Curl Noise

Stable curl noise with three.js.

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Dependencies: GPUComputationRenderer.js, OrbitControls.js

Demo image: Liza Kobrazova

Author

  • Liza Kobrazova

Made with

  • HTML (Pug) / CSS / JavaScript

About the code

Liza Kobrazova

Little low poly sheep made with three.js. Click to spring and feel sleepy :)

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: OrbitControls.js

Demo image: Breaking Bad / Walter White Animation

Writer

  • Kevoj

Made with

  • HTML / CSS / JavaScript

About the code

Breaking Bad / Walter White Animation

Breaking Bad / Walter White animation with three.js. Concur down the click to transform.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Three JS Game Style Immersive Slider Selection Screen

Author

  • Jamie Coulte

Made with

  • HTML (Haml) / CSS (SCSS) / JavaScript

About the code

Three JS Game Style Immersive Slider Option Screen

This is my kickoff proper crack at creating something in Iii.js! Y'all'll probably find a lot of the JS is sloppy and unoptimized.
The transitions are done by using GSAP'southward timeline max and the 3D UI is congenital using my deepUI JS plugin.
I honestly accept no idea how I got to the final production. The concept began as just a simple product slider in THREE JS and somewhen became more and more complicated as the development went on. The game the scene apparently belongs to is completely fictional and none of this will be used in production of form.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: font-crawly.css, OrbitControls.js, jquery.js, TweenMax.js

Demo image: 3D Pixels

Writer

  • Shaw

Made with

  • HTML / CSS (Less) / JavaScript

Most the lawmaking

3D Pixels

Drag & driblet an image or upload epitome to generate 3d pixels.

Uniform browsers: Chrome, Border, Firefox, Opera, Safari

Dependencies: dat.gui.js, OrbitControls.js, CustomBounce.js, CustomEase.js, TweenMax.js/p>

Demo image: Night Drive

Author

  • Shaw

Fabricated with

  • HTML / CSS (Less) / JavaScript (Babel)

Nearly the lawmaking

Night Bulldoze

Accept a night drive through a snowy landscape.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: TweenMax.js

Demo image: 3D Campfire

Author

  • Shaw

Almost the code

3D Campfire

Another warm winter scene to aid me experiment with lighting, shadows and 3D inside 3.js

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: OrbitControls.js, TweenMax.js

Demo image: Water Shader

Author

  • Jonathan Blair

Made with

  • HTML / JavaScript

About the lawmaking

Water Shader

Three JS water shader.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: jQuery.js

Demo image: Three.js Image Transition

Author

  • Szenia Zadvornykh

Made with

  • HTML / CSS / JavaScript

Well-nigh the lawmaking

Iii.js Prototype Transition

Shader powered image transition with three.js. Click and drag to control the animation.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: bas.js, OrbitControls-2.js, TweenMax.js

Demo image: Dynamic 3D Confetti Text

Author

  • Rachel Smith

Made with

  • HTML / CSS / JS

About a code

Dynamic 3D Confetti Text

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: three.js

Demo image: Cat vs Ball of Wool

Author

  • Karim Maaloul

Made with

  • HTML / CSS / JavaScript

Well-nigh the lawmaking

True cat vs Ball of Wool

WebGL demo using ThreeJs. With changed kinematics, physics and a lot of cat psychology :) This cat is a 3D remake of the master grapheme of "Babel, the cat who would be male monarch", a children app I did some time ago.

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Dependencies: OrbitControls.js, cat.js, TweenMax.min.js

Demo image: Sneeze the Dragon

Author

  • Karim Maaloul

Made with

  • HTML / CSS / JavaScript

About the code

Sneeze the Dragon

Help the dragon to make fire, click equally fast equally possible then release. A smoke and burn down study using ThreeJS and TweenMax.

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: OrbitControls.js, TweenMax.js

Demo image: Holy Running Cow

Writer

  • Karim Maaloul

Made with

  • HTML / CSS / JavaScript

Nigh the lawmaking

Holy Running Cow

Printing and drag to rotate the scene. Made with iii.js and TweenMax.js.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: -

Demo image: Chill the Lion

Writer

  • Karim Maalou

Made with

  • HTML / CSS / JavaScript

Most the code

Chill the Lion

WebGL experiment using ThreeJS. Move the fan and press to make current of air, the panthera leo volition surely capeesh.

Uniform browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: OrbitControls.js

Demo image: Paranoid vs Shy Birds

Author

  • Karim Maaloul

Made with

  • HTML / CSS / JavaScript

Virtually the code

Paranoid vs Shy Birds

A paranoid bird surrounded past 2 shy buddies with shifty look. A WebGL experiment, using Three.js and a little flake of TweenMax.js.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Dependencies: OrbitControls.js, TweenMax.js

Demo image: Mighty Fish

Writer

  • Karim Maaloul

Made with

  • HTML / CSS / JavaScript

About the code

Mighty Fish

WebGL experiment using ThreeJs. Movement your mouse right and left, peak and lesser to alter speed and direction.

Compatible browsers: Chrome, Border, Firefox, Opera, Safari

Dependencies: -