threepipe
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Tweakpane Editor</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- Import maps polyfill -->
  8. <!-- Remove this when import maps will be widely supported -->
  9. <script async src="https://unpkg.com/es-module-shims@1.6.3/dist/es-module-shims.js"></script>
  10. <!-- Fonts -->
  11. <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
  12. <link href="https://cdn.jsdelivr.net/gh/repalash/gilroy-free-webfont@master/Gilroy-Extrabold.css" rel="stylesheet">
  13. <script type="importmap">
  14. {
  15. "imports": {
  16. "three": "./../../dist/index.mjs",
  17. "threepipe": "./../../dist/index.mjs",
  18. "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs",
  19. "@threepipe/plugin-tweakpane-editor": "./../../plugins/tweakpane-editor/dist/index.mjs",
  20. "@threepipe/plugins-extra-importers": "./../../plugins/extra-importers/dist/index.js",
  21. "@threepipe/plugin-blend-importer": "./../../plugins/blend-importer/dist/index.mjs",
  22. "@threepipe/plugin-geometry-generator": "./../../plugins/geometry-generator/dist/index.mjs",
  23. "@threepipe/plugin-configurator": "./../../plugins/configurator/dist/index.mjs",
  24. "@threepipe/plugin-network": "./../../plugins/network/dist/index.mjs",
  25. "@threepipe/plugin-gltf-transform": "./../../plugins/gltf-transform/dist/index.mjs",
  26. "@threepipe/plugin-gaussian-splatting": "./../../plugins/gaussian-splatting/dist/index.mjs",
  27. "@threepipe/plugin-3d-tiles-renderer": "./../../plugins/3d-tiles-renderer/dist/index.mjs",
  28. "@threepipe/plugin-assimpjs": "./../../plugins/assimpjs/dist/index.mjs",
  29. "@threepipe/plugin-path-tracing": "./../../plugins/path-tracing/dist/index.mjs",
  30. "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.4.1/dist/index.mjs"
  31. }
  32. }
  33. </script>
  34. <style id="example-style">
  35. html {
  36. display: block;
  37. }
  38. </style>
  39. <script type="module" src="../examples-utils/global-loading.mjs"></script>
  40. <script type="module" src="../examples-utils/simple-code-preview.mjs"></script>
  41. <script id="example-script" type="module" src="./script.js" data-scripts="./script.ts;./script.js"></script>
  42. </head>
  43. <body class="code-preview-container">
  44. <div id="canvas-container">
  45. <canvas id="mcanvas"></canvas>
  46. </div>
  47. </body>