Skip to content

Instantly share code, notes, and snippets.

@t-mat
Created January 25, 2024 09:08
Show Gist options
  • Save t-mat/bd4441259537d8aa59f5c0dfe73eb7ff to your computer and use it in GitHub Desktop.
Save t-mat/bd4441259537d8aa59f5c0dfe73eb7ff to your computer and use it in GitHub Desktop.
[Windows]Download and open the examples of three.js

Prerequisites

  • cmd.exe
  • python3

Commands

cmd.exe

cd /d "%USERPROFILE%\Documents"
mkdir my-three.js
cd    my-three.js

curl.exe -JOL https://github.com/mrdoob/three.js/archive/refs/tags/r160.zip
tar.exe -xf three.js-r160.zip
cd          three.js-r160

start http://localhost:8000/examples/ && python3 -m http.server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment