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.

1234567891011121314151617181920212223242526272829303132333435363738
  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. "threepipe": "./../../dist/index.mjs",
  17. "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs",
  18. "@threepipe/plugin-tweakpane-editor": "./../../plugins/tweakpane-editor/dist/index.mjs"
  19. }
  20. }
  21. </script>
  22. <style id="example-style">
  23. html {
  24. display: block;
  25. }
  26. </style>
  27. <script type="module" src="../examples-utils/simple-code-preview.mjs"></script>
  28. <script id="example-script" type="module" src="./script.js" data-scripts="./script.ts;./script.js"></script>
  29. </head>
  30. <body>
  31. <div id="canvas-container">
  32. <canvas id="mcanvas"></canvas>
  33. </div>
  34. </body>