Community chat. Join us!
Table of content
New releases
whsis currently at v2 major version. We had plans for v3 yet but development isn't active. So v2 will probably remain the main stable version until further notice.
We try to publish minor update releases for bug fixes, we will review PRs.
NPM
# Install npm version
$ npm install whsFor
whs@2.2.x(Three.js r92) use @beta tag
# Install npm version
$ npm install whs@betaBasic setup
Download the minified library or link the one from CDN
<script src="js/three.min.js"></script>
<script src="js/whs.min.js"></script>The code below makes a WHS.App instance which handles all your modules and components for better work with WebGL. This one creates a scene, camera and renderer - we add the following modules to the App.
const app = new WHS.App([
new WHS.ElementModule(), // Apply to DOM.
new WHS.SceneModule(), // Create a new THREE.Scene and set it to app.
new WHS.DefineModule('camera', new WHS.PerspectiveCamera({ // Apply a camera.
position: new THREE.Vector3(0, 0, 50)
})),
new WHS.RenderingModule({bgColor: 0x162129}), // Apply THREE.WebGLRenderer
new WHS.ResizeModule() // Make it resizable.
]);
app.start(); // Run app.Featured projects
Features
๐ Simple in usage๐ Speeds up 3D scene prototyping๐ Component based scene graph๐ฃ Simple integration of any high performance physics even withWorker(Multithreading)๐ซ Automatization of rendering๐ ES2015+ based๐ท Extension system (modules)๐ฆ Webpack friendlyโ๏ฟฝ? Integrated Three.js rendering engine๐ Work with whs.js and Three.js at the same time
External Modules
| Name | Status | Description |
|---|---|---|
| physics-module-ammonext | Physics module based on Ammo.js |
Donate
Backers
Support us with a monthly donation and help us continue framework development

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.



