Collection of three.js (Javascript 3D library) code examples

Welcome to our collection of JavaScript examples! In this meticulously curated compilation, we have assembled a diverse range of JavaScript code snippets that showcase the flexibility and power of this dynamic programming language.

Cat vs Ball of Wool

Cat vs Ball of Wool

Author:
Karim Maaloul | July 31, 2015
Made with:
HTML / CSS / JavaScript

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Dependencies:
OrbitControls.js, cat.js, TweenMax.min.js
Sneeze the Dragon

Sneeze the Dragon

Author:
Karim Maaloul | July 11, 2015
Made with:
HTML / CSS / JavaScript

About a code

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

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Dependencies:
OrbitControls.js, TweenMax.js
Holy Running Cow

Holy Running Cow

Author:
Karim Maaloul | June 20, 2015
Made with:
HTML / CSS / JavaScript

About a code

Press and drag to rotate the scene. Made with three.js and TweenMax.js.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Dependencies:
-
Chill the Lion

Chill the Lion

Author:
Karim Maalou | June 17, 2015
Made with:
HTML / CSS / JavaScript

About a code

WebGL experiment using ThreeJS. Move the fan and press to make wind, the lion will surely appreciate.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Dependencies:
OrbitControls.js
Paranoid vs Shy Birds

Paranoid vs Shy Birds

Author:
Karim Maaloul | June 8, 2015
Made with:
HTML / CSS / JavaScript

About a code

A paranoid bird surrounded by two shy buddies with shifty look. A WebGL experiment, using Three.js and a little bit of TweenMax.js.

Compatible browsers:
Chrome, Edge, Firefox, Opera, Safari
Dependencies:
OrbitControls.js, TweenMax.js
Mighty Fish

Mighty Fish

Author:
Karim Maaloul | May 2, 2015
Made with:
HTML / CSS / JavaScript

About a code

WebGL experiment using ThreeJs. Move your mouse right and left, top and bottom to change speed and direction.

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

Discover Our Extensive Snippet Library

This heading suggests that your website provides a wide variety of snippets across different technologies, encouraging users to explore and use these resources for their development projects.

HTML Snippets.

Explore a collection of HTML snippets designed to streamline your web development process. From basic structures to complex elements.

CSS Snippets.

Discover powerful CSS snippets that help you style your web pages with ease. Whether you need layout solutions, animations

JavaScript Snippets.

Enhance your website's interactivity with our JavaScript snippets. From DOM manipulation to advanced algorithms

Bootstrap Snippets.

Leverage the power of Bootstrap with our collection of snippets. Quickly integrate responsive design components

Tailwind Snippets.

Speed up your development process with Tailwind CSS snippets. These utility-first CSS snippets enable you to

jQuery Snippets.

Simplify your JavaScript development with jQuery snippets. Easily perform common tasks like event handling, animations

React Snippets.

Build robust, component-based user interfaces with our React snippets. From state management to lifecycle methods,

Vue Snippets.

Streamline Vue.js development with our collection of snippets for creating components, managing state, and handling events.

Ready to set your Brand ablaze?

Let's craft a visual identity that ignites passion and loyalty. ✨