All Projects → edwinwebb → Three Seed

edwinwebb / Three Seed

Licence: mit
A Three.js starter project with ES6 and Webpack

Programming Languages

javascript
184084 projects - #8 most used programming language
es6
455 projects

Projects that are alternatives of or similar to Three Seed

Webgl Structure
🚀 A modern, ES6 based, javascript structure for WebGL based projects with THREE.js!
Stars: ✭ 44 (-79.34%)
Mutual labels:  webpack, webgl, threejs
Expo Voxel
🎮🌳 Voxel Terrain made in React Native. ∛
Stars: ✭ 169 (-20.66%)
Mutual labels:  webgl, threejs, bootstrap
React Redux Starter
A basic template that consists of the essential elements that are required to start building a Single Page Application using React, React Router, Redux, Bootstrap 4, Sass, and Webpack
Stars: ✭ 116 (-45.54%)
Mutual labels:  webpack, starter, bootstrap
Mdb Webpack Starter
Webpack Starter for Material Design for Bootstrap UI Kit based on the latest Bootstrap 5.
Stars: ✭ 39 (-81.69%)
Mutual labels:  webpack, starter, bootstrap
React Three Next
React Three Fiber, Nextjs, Tailwind starter
Stars: ✭ 195 (-8.45%)
Mutual labels:  starter, webgl, threejs
React Core Boilerplate
Powerful ASP.NET Core 3 templates with React, true server-side rendering and Docker support
Stars: ✭ 169 (-20.66%)
Mutual labels:  webpack, bootstrap
Baumeister
👷 The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
Stars: ✭ 171 (-19.72%)
Mutual labels:  webpack, bootstrap
Threejs Modern App
Boilerplate and utils for a fullscreen Three.js app
Stars: ✭ 176 (-17.37%)
Mutual labels:  webgl, threejs
Feathers Vue
A boiler plate template using Feathers with Email Verification, Vue 2 with Server Side Rendering, stylus, scss, jade, babel, webpack, ES 6-8, login form, user authorization, and SEO
Stars: ✭ 195 (-8.45%)
Mutual labels:  webpack, bootstrap
Threejs Path Flow
🐬🐟 ↶Mesh Deformation / Bending / Following on a Curve
Stars: ✭ 165 (-22.54%)
Mutual labels:  webgl, threejs
Aframe Effects
A VR Ready Post processing framework for Three.js and/or A-Frame
Stars: ✭ 176 (-17.37%)
Mutual labels:  webgl, threejs
100 Days Of Code Frontend
Curriculum for learning front-end development during #100DaysOfCode.
Stars: ✭ 2,419 (+1035.68%)
Mutual labels:  webpack, bootstrap
Cordova Create React App
A tutorial on how to set up a Cordova project using Create React App.
Stars: ✭ 167 (-21.6%)
Mutual labels:  webpack, starter
Encom Boardroom
📈 Web tribute to the Tron: Legacy Boardroom Scene
Stars: ✭ 2,094 (+883.1%)
Mutual labels:  webgl, threejs
React Globe
Create beautiful and interactive React + ThreeJS globe visualizations with ease.
Stars: ✭ 167 (-21.6%)
Mutual labels:  webgl, threejs
Three Nebula
WebGL based particle system engine for three.js
Stars: ✭ 192 (-9.86%)
Mutual labels:  webgl, threejs
Demos
One repo to rule them all.
Stars: ✭ 204 (-4.23%)
Mutual labels:  webgl, threejs
Droneworld
droneWorld: a 3D world map and a three.js playground
Stars: ✭ 197 (-7.51%)
Mutual labels:  webgl, threejs
Magicshader
🔮 Tiny helper for three.js to debug and write shaders
Stars: ✭ 205 (-3.76%)
Mutual labels:  webgl, threejs
Vue Displacement Slideshow
A Vue.js 2.0 slideshow component working with Three.js
Stars: ✭ 165 (-22.54%)
Mutual labels:  webgl, threejs

Three Seed

Three.js starter project boilerplate bundled with Webpack.

This project is designed to help you get started on your next three.js project. It sets up a simple scene, camera and renderer to view two imported GLTF assets.

Online Demo

Install

Before you begin, make sure you are comfortable with terminal commands and have Node and NPM installed. Then either install via a download or with Git.

Install via Download

First download the zip of the project and extract it. Then in terminal at that folder type npm install to set things up. To get going run: npm start.

Install with Git

In terminal clone the project into a directory of your choice then delete the git folder to start fresh.

git clone --depth=1 https://github.com/edwinwebb/three-seed.git my-project
cd my-project
rm -rf .git
npm install

Running the development server

To see the changes you make to the starter project go to the project folder in terminal and type...

npm start

This command will bundle the project code and start a development server at http://localhost:8080/. Visit this in your web browser; you should see a rotating island and flower.

Editing the code

The first file you should open is ./objects/Scene.js. In it you will find the three objects comprising the ThreeJS scene represented in your browser. The flower, the island, and the lights illuminating them are each represented as a javascript file in the ./object/ folder. Open these, edit them and see your changes in the browser. If something goes wrong a message will displayed in the debug console of the browser.

Importing local files

Local files, such as images and 3D models, are imported into the application as URLs then loaded asynchronously with three.js. Most common files that three.js uses are supported. For more information about this system see the webpack site.

Importing modules from the web

If you want to add additional functionality to your project, you can search and install them from the NPM repository. Some modules you might want to consider are...

Additions like these are best managed in the projects entry file: ./src/entry.js. In it are the Scene, Camera, Renderer, the window event listeners and the animation loop.

Using the Three.js Examples

When using this project you might bump into a few issues around using the examples from three.js docs. Most of the common issues have been solved with including NPM packages. However, for more complex examples with custom script includes you might find yourself having to refactor them. See Issue 15 for an example.

About the models

Both the models are loaded by the GLTFLoader and were sourced from the Google Poly project.

"Floating Island" by sirkitree is licensed under CC BY 2.0

"Flower" by Poly By Google is licensed under CC BY 2.0

Building the project for the web

Once you are happy with your project you'll be sure to want to show it off. Running npm run build in terminal will bundle your project into the folder ./build/. You can upload this directory to a web server. For more complex results read this guide.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].