2017-06-30 23:31:46 +03:00
2017-06-30 21:09:20 +03:00
2017-06-30 22:41:59 +03:00
Fix
2017-06-30 19:10:55 +03:00
2017-06-29 21:10:13 +03:00
2017-06-29 21:10:13 +03:00
2017-06-17 08:25:13 +03:00
2017-06-30 21:16:37 +03:00
2017-06-29 21:10:13 +03:00
2017-06-29 18:54:56 +03:00
2017-01-30 15:07:06 +02:00
2016-11-08 17:05:28 +09:00
2017-06-19 08:41:38 +03:00
2017-01-18 00:09:40 +02:00
2017-03-05 16:13:41 +02:00
2016-10-28 19:38:25 +03:00
2017-06-30 22:52:23 +03:00
2017-06-27 15:38:42 +03:00
2017-06-17 16:23:06 +03:00
2017-06-20 23:20:19 +03:00
2017-01-28 01:02:11 +02:00
2017-06-30 22:41:59 +03:00
2017-06-30 22:50:29 +03:00
2017-06-30 23:31:46 +03:00
2017-06-29 21:10:13 +03:00

Three Build Status

Community chat. Join us!

Discord

Table of content

Basic setup

# Install npm version
$ npm install whs --save-dev

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 Vector3(0, 0, 50)
  })),

  new WHS.RenderingModule({bgColor: 0x162129}), // Apply THREE.WebGLRenderer
  new WHS.ResizeModule() // Make it resizable.
]);

app.start(); // Run app.

NPM

# Install npm version
$ npm install whs

NPM Version

http://theroguepixel.com/ http://supertiny.agency/ https://alexbuzin.me/ https://spatial.100shapes.com/ http://plateux.space/

Features

  • 💎 Simple in usage
  • 🚀 Speeds up 3D scene prototyping
  • 🔌 Component based scene graph
  • 💣 Simple integration of any high performance physics even with Worker (Multithreading)
  • 💫 Automatization of rendering
  • 🆕 ES2015+ based
  • 🔷 Extension system (modules)
  • 📦 Webpack friendly
  • ✔️ Integrated Three.js rendering engine
  • 💞 Work with Whitestorm.js and Three.js at the same time
Description
🚀 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js
Readme 347 MiB
Languages
JavaScript 100%