๐ ๐ช Super-fast 3D framework for Web Applications ๐ฅ & Games ๐ฎ. Based on Three.js
JavaScript
6,357
2,232 commits
updated Jan 1, 2025

Community chat. Join us!
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.
# Install npm version
$ npm install whs
For
whs@2.2.x(Three.js r92) use @beta tag
# Install npm version
$ npm install whs@beta
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.
Worker (Multithreading)| Name | Status | Description |
|---|---|---|
| physics-module-ammonext | Physics module based on Ammo.js |
Support us with a monthly donation and help us continue framework development๐ and adding new features๐ก๐.
247 followers ยท starred Nov 2017
920 followers ยท starred Mar 2019
634 followers ยท starred Jul 2017
362 followers ยท starred Nov 2016
๐ ๐ช Super-fast 3D framework for Web Applications ๐ฅ & Games ๐ฎ. Based on Three.js
JavaScript
6,357
2,232 commits
updated Jan 1, 2025

Community chat. Join us!
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.
# Install npm version
$ npm install whs
For
whs@2.2.x(Three.js r92) use @beta tag
# Install npm version
$ npm install whs@beta
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.
Worker (Multithreading)| Name | Status | Description |
|---|---|---|
| physics-module-ammonext | Physics module based on Ammo.js |
Support us with a monthly donation and help us continue framework development๐ and adding new features๐ก๐.
247 followers ยท starred Nov 2017
920 followers ยท starred Mar 2019
634 followers ยท starred Jul 2017
362 followers ยท starred Nov 2016