{"repo":"mrdoob/draco.js","free":true,"listed":false,"github":"https://github.com/mrdoob/draco.js","clone":"git clone https://github.com/mrdoob/draco.js.git","description":"A small, drop-in, pure-JavaScript Draco mesh loader for three.js.","language":"JavaScript","stars":195,"topics":["3d","draco","geometry","gltf","loader","mesh-compression","threejs","webgl"],"license":"MIT","category":"game-templates","readme_excerpt":"Draco.js A pure-JavaScript Draco mesh loader for three.js. It's a drop-in DRACOLoader that decodes Draco-compressed triangle meshes — both the EdgeBreaker connectivity used by glTF's KHR draco mesh compression and Draco's sequential connectivity — directly in JavaScript. Live demo → Why a JS port instead of the official WASM build? - Small — 20 KB gzipped (62 KB minified), vs 100 KB gzipped for the draco3d WASM decoder + glue ( 5× smaller). - Simple to ship — one ES module. No .wasm fetch, no worker/glue setup, no cross-origin or CSP headaches. - Fast — within 1.0–1.4× of the WASM decoder on substantial meshes, and effectively at parity on the largest, with byte-for-byte identical output. You trade decode speed for a much smaller, simpler loader. This pays off most on pages with a single model, where the decoder is a one-time cost that isn't amortized across many meshes — the model often displays sooner end-to-end because the network savings outweigh the extra decode time. Status Targets Draco bitstream version 2.2 — what current Draco encoders and glTF exporters produce. Older bitstreams (< 2.2) are rejected with an error. Not implemented: - Point-cloud decoding (sequential and KD-tree) — only triangle meshes are decoded. - Metadata content — geometry metadata is parsed (so metadata-bearing files still decode correctly) but is not surfaced on the returned geometry. Usage DRACOLoader is a drop-in replacement for three.js's own DRACOLoader — plug it into GLTFLoader the usual w","default_branch":null,"files":null,"tree":[],"storefront":"/r/mrdoob","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mrdoob/draco.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}