With the q5 Web Editor you can create and share your q5 projects online!
Launch the q5 Web Editor:
👉 https://codevre.com/q5-editor 🚀
To use q5 WebGPU in your own HTML, be sure to set the script type to "module".
<script type="module" src="https://q5js.org/q5.js"></script> <script type="module" src="sketch.js"></script>
q5 is also available on npm and jsr.
<script type="module" src="node_modules/q5/q5.js"></script>
To get advanced autocompletion and inline documentation, simply add this jsconfig.json file to your project folder:
jsconfig.json
{ "compilerOptions": { "target": "ESNext" }, "typeAcquisition": { "include": ["node_modules/q5"] } }
q5 can also be used server side with node, bun, or deno!
https://github.com/q5js/q5-node-template https://github.com/q5js/q5-deno-template
There was an error while loading. Please reload this page.