threepipe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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/plugin-extra-importers": "./../../plugins/extra-importers/dist/index.mjs",
  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. }
  28. }
  29. </script>
  30. <style id="example-style">
  31. html {
  32. display: block;
  33. }
  34. </style>
  35. <script type="module" src="../examples-utils/simple-code-preview.mjs"></script>
  36. <script id="example-script" type="module" src="./script.js" data-scripts="./script.ts;./script.js"></script>
  37. </head>
  38. <body class="code-preview-container">
  39. <div id="canvas-container">
  40. <canvas id="mcanvas"></canvas>
  41. </div>
  42. </body>