v120.2
A simple transformation of three.js for use within a Deno workflow
Repository
Current version released
4 years ago
Versions
three.js 4 deno
// main.ts
import { WebGLRenderer } from "https://deno.land/x/threejs_4_deno@v120/src/Three.js"
// and/or
import { OrbitalControls } from "https://deno.land/x/threejs_4_deno@v120/examples/jsm/controls/OrbitControls.js"
// use as per normal
To see your code in action in the browser:
deno bundle main.ts
and then include the outputed bundle within your html
<script type="module" src="bundle.main.js"></script>