UNPKG

threepipe

Version:

A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.

37 lines (32 loc) 989 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Threepipe React/TSX Sample</title> <!-- Import maps polyfill --> <!-- Remove this when import maps will be widely supported --> <script async src="https://unpkg.com/es-module-shims@1.6.3/dist/es-module-shims.js"></script> <script type="importmap"> { "imports": { "threepipe": "./../../dist/index.mjs", "react": "https://esm.sh/react@18", "react-dom": "https://esm.sh/react-dom@18" } } </script> <style> html, body{ width: 100%; height: 100%; margin: 0; overflow: hidden; } </style> <script type="module" src="../examples-utils/simple-code-preview.mjs"></script> <script id="example-script" type="module" src="./script.js" data-scripts="./script.tsx;./script.js"></script> </head> <body> <div id="root"></div> </body> </html>