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.

index.html 1.9KB

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