Skip to content

Instantly share code, notes, and snippets.

View fijisoo's full-sized avatar
four tetting


four tetting
View GitHub Profile
#!/usr/bin/env bash
echo "
# add nodejs 10 ppa (personal package archive) from nodesource
curl -sL | sudo -E bash -
fijisoo /
Created August 27, 2021 22:07 — forked from donmccurdy/
Convert legacy three.js (JSON) files to glTF 2.0


Converts legacy JSON models (created by the three.js Blender exporter, for THREE.JSONLoader) to glTF 2.0. When original .blend files are available, prefer direct export from Blender 2.80+.

NOTE: JSON files created with .toJSON() use a newer JSON format, which isn't deprecated, and these are still supported by THREE.ObjectLoader. This converter does not support that newer type of JSON file.


npm install canvas vblob three