Hey ,
i have a problem with connecting a sketch.js to a wix html iframe.
it a background animation like in this page :
my way : upload sketch.js and index.html to public , load index html to wix html frame.
but it seems i cant reach the uploaded files.
PUBLIC
index.html
sketch.js
index.html :
<title>p5 background</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/p5.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.sound.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.dom.js"></script>
<script type="text/javascript" src="sketch.js"></script>
------------------------------------------
html iframe :
not wirking
somebody has a hint ? thank you so much,
erich