8000 GitHub - tankiJong/three-seed: A Three.js starter project with ES2015 and Webpack
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tankiJong/three-seed

 
 

Repository files navigation

Three Seed

This seed is designed to bootstrap your Three.js development with modern tooling, technology and project organisation.

TODO

  • Add GLSL loaders and example
  • Add await, async with fileLoader examples

npm scripts

  • npm start - Build and start the app in development mode at http://localhost:8080
  • npm run build - Run a production build, outputs to ./build/
  • npm run lint - Lint your code

Static assets

import asset files from within your JavaScript component files:

import textureURL from './texture.png';

Then load them with the matching loader from /Loaders/Loader.js

import { loadTexture } from '/loaders/loader.js';
import textureURL from './texture.png';

const myTexture = await loadTexture(textureURL);

License

Copyright (c) 2017 Edwin Webb

MIT (http://opensource.org/licenses/MIT)

About

A Three.js starter project with ES2015 and Webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.0%
  • GLSL 42.0%
0