After some research, the main.html is actually included in the gui's index.html, but none of the scripts or stylesheets are loaded: (Edit: found out, they have to be placed @ ~/Bela/IDE/public/gui)
Question: how can I see the original p5 controls?
My main.html looks like:
<!DOCTYPE html>
<html>
<body>
<script src="/projects/exampleTempProject/sketch.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
<canvas id="defaultCanvas0" class="p5Canvas" width="975" height="600" style="width: 975px; height: 600px;"></canvas>
<input type="range" min="0" max="255" style="position: absolute; left: 50px; top: 100px;">
<div id="header" color="white">
<h4>Bela Web GUI</h4>
</div>
</body>
</html>
I can the slider now, so somehow the scetch.js is not executed correctly.
Any insights?