Skip to content

timoxley/threejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

three.js

JavaScript 3D Component

The aim of the project is to create a lightweight 3D library with a very low level of complexity — in other words, for dummies. The library provides <canvas>, <svg> and WebGL renderers.

This is a slight adaption of the original three.js code to work as a component.

Installation

$ component install timoxley/threejs

Usage

var THREE = require('threejs')

API

See the three.js website, documentation and mrdoob's
github repo

Examples

For now, I've only modified examples/webgl_terrain_dynamic.html to work with the component modfications.

Build Caveats

Original three.js build system in utils will build the three.js lib in the build folder. This file needs to be renamed as index.js in the project root.

Thanks

Thanks to mrdoob for his endless tirade of amazing work.

License

MIT

About

JavaScript 3D library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.5%
  • Python 2.8%
  • Other 0.7%