0

Processing sketch not working

How do I run a processing sketch inside a webpage? I’ve tried with the following code, but it doesn’t seem to work. https://code.sololearn.com/W5uq1prNv28J/?ref=app

4th Nov 2018, 6:10 AM
Anthony Wilson
Anthony Wilson - avatar
4 Respostas
+ 4
<script src="https://cdnjs.cloudflare.com/ajax/libs/processing.js/1.4.8/processing.min.js"></script> Replace your first <script> with this <script> ,it use a cdn as a scource for processing.js.
4th Nov 2018, 10:49 AM
ODLNT
ODLNT - avatar
+ 2
Thank you so much! Now I can run all my processing sketches inside webpages without having to transcribe the code :D How did you know to do that? Is there a website about it?
4th Nov 2018, 7:14 PM
Anthony Wilson
Anthony Wilson - avatar
4th Nov 2018, 7:20 PM
ODLNT
ODLNT - avatar
+ 2
Oh. Well, thanks! This allows me to do so many things!
4th Nov 2018, 7:22 PM
Anthony Wilson
Anthony Wilson - avatar