layout |
---|
default |
Convert and run!
<textarea id="processing-p5-convert-output"></textarea>
Please report any issues that you find!
<script src="js/index.js"></script> <script> let input = document.getElementById("processing-p5-convert-input"); inputCodeMirrorEditor = CodeMirror.fromTextArea(input, { lineNumbers: true, theme: "cobalt", mode: "clike" }); inputCodeMirrorEditor.setSize("100%", 600); let output = document.getElementById("processing-p5-convert-output"); output.value = ""; outputCodeMirrorEditor = CodeMirror.fromTextArea(output, { lineNumbers: true, theme: "cobalt", mode: "javascript", readOnly: true }); outputCodeMirrorEditor.setSize("100%", 600); </script>