Buckets:
20.9 GB
673,093 files
Updated 4 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| _polyfill | 30 items | ||
| animation | 20 items | ||
| cameras | 5 items | ||
| controls | 56 items | ||
| csm | 20 items | ||
| curves | 20 items | ||
| deprecated | 5 items | ||
| effects | 30 items | ||
| environments | 5 items | ||
| exporters | 40 items | ||
| geometries | 45 items | ||
| helpers | 30 items | ||
| interactive | 20 items | ||
| libs | 35 items | ||
| lights | 10 items | ||
| lines | 35 items | ||
| loaders | 252 items | ||
| math | 45 items | ||
| misc | 70 items | ||
| modifiers | 20 items | ||
| node_modules | 13 items | ||
| objects | 65 items | ||
| physics | 5 items | ||
| postprocessing | 140 items | ||
| renderers | 20 items | ||
| shaders | 261 items | ||
| textures | 5 items | ||
| types | 7 items | ||
| utils | 45 items | ||
| webxr | 50 items | ||
| LICENSE | 1.07 kB xet | fd00983e | |
| README.md | 2.49 kB xet | 12a4a3db | |
| index.cjs | 35.6 kB xet | 2f10fdbe | |
| index.cjs.map | 706 Bytes xet | 3c966585 | |
| index.d.ts | 10.9 kB xet | ad477a02 | |
| index.js | 23.8 kB xet | a3a0cf78 | |
| index.js.map | 350 Bytes xet | 1f02ed97 | |
| package.json | 1.59 kB xet | 9bc8621a |
three-stdlib
Stand-alone version of threejs/examples/jsm written in Typescript & built for ESM & CJS.
Basic usage
npm install three-stdlib
// Export collection
import * as STDLIB from 'three-stdlib'
// Flatbundle
import { OrbitControls, ... } from 'three-stdlib'
Problem
three/examples are usually regarded as something that you copy/paste into your project and adapt to your needs. That's not how people use it, and this has caused numerous issues in the past.
Solution
- A build system for ESM and CJS, compatible with browser, workers, and Node
- Class based, optimized for tree-shaking, no globals, exports instead of collections
- Typesafety with simple annotation-like types
- SemVer and NPM managed dependencies
But most importantly, allowing more people that use and rely on these primitives to hold a little stake, and to share the weight of maintaining it.
How to Contribute
- Fork and clone the repo
- Run
yarn installto install dependencies - Create a branch for your PR with `git checkout -b pr-type/issue-number-your-branch-name beta
- Let's get cooking! 👨🏻🍳🥓
Commit Guidelines
Be sure your commit messages follow this specification: https://conventionalcommits.org/en/v1.0.0-beta.4
Publishing
We use semantic-release-action to deploy the package. Because of this only certain commits will trigger the action of creating a release:
chorewill not release a new versionfix:will create a0.0.xversionfeat:will create a0.x.0versionBREAKING CHANGE:will create ax.0.0version
- Total size
- 20.9 GB
- Files
- 673,093
- Last updated
- Mar 19
- Pre-warmed CDN
- US EU US EU