threepipe
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

index.html 2.1KB

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