Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🚀 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js

License

NotificationsYou must be signed in to change notification settings

WhitestormJS/whs.js

ThreeBuild Status

Community chat.Join us!

Discord

Table of content

New releases

whs is 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 publishminor update releases for bug fixes, we will review PRs.

NPM

# Install npm version$ npm install whs

Forwhs@2.2.x (Three.js r92) use @beta tag

# Install npm version$ npm install whs@beta

NPM Version

Basic setup

Download theminified library or link the one fromCDN

<scriptsrc="js/three.min.js"></script><scriptsrc="js/whs.min.js"></script>

The code below makes aWHS.App instance which handles all yourmodules and components for better work withWebGL. This one creates ascene,camera andrenderer - we add the following modules to the App.

constapp=newWHS.App([newWHS.ElementModule(),// Apply to DOM.newWHS.SceneModule(),// Create a new THREE.Scene and set it to app.newWHS.DefineModule('camera',newWHS.PerspectiveCamera({// Apply a camera.position:newTHREE.Vector3(0,0,50)})),newWHS.RenderingModule({bgColor:0x162129}),// Apply THREE.WebGLRenderernewWHS.ResizeModule()// Make it resizable.]);app.start();// Run app.

Featured projects

https://moxy.studio/https://rmallick6806.github.io/SolarSystemBuilder/http://www.tpain.com/http://artifacts.zone/lorenzav/http://artifacts.zone/tree/http://abdaily.surge.sh/4/http://abdaily.surge.sh/2/http://abdaily.surge.sh/1/http://theroguepixel.com/http://supertiny.agency/https://alexbuzin.me/https://spatial.100shapes.com/http://plateaux.space/

Features

  • 💎Simple in usage
  • 🚀 Speeds up 3D scene prototyping
  • 🔌Component based scene graph
  • 💣 Simple integration of anyhigh performance physics even withWorker (Multithreading)
  • 💫 Automatization of rendering
  • 🆕ES2015+ based
  • 🔷 Extension system (modules)
  • 📦Webpack friendly
  • ✔️IntegratedThree.js rendering engine
  • 💞 Work with whs.js and Three.js at the same time

External Modules

NameStatusDescription
physics-module-ammonextNPM VersionPhysics module based onAmmo.js

Donate

OpenCollective BackersOpenCollective Sponsors

Backers

Support us with a monthly donation and help us continue framework development🎉 and adding new features💡🎁.

About

🚀 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    Contributors35


    [8]ページ先頭

    ©2009-2025 Movatter.jp