+ 1

How do you import processingJS into sololearn

I am busy coding on Khan Academy and they only use processingJS Can anyone help me? I would greatly appreciate any help

26th Aug 2019, 10:40 AM
Stealthycoder2007
Stealthycoder2007 - avatar
3 ответов
+ 8
Like this: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <!--processing.js cdn--> <script src="https://cdnjs.cloudflare.com/ajax/libs/processing.js/1.6.6/processing.js"></script> <script type="text/processing" data-processing-target="canvas"> //type="text/processing" //data-processing-target=(canvas id) //processing.js code </script> <canvas id="canvas"></canvas> </body> </html>
26th Aug 2019, 11:16 AM
Farhan
Farhan - avatar
26th Aug 2019, 12:46 PM
Calviղ
Calviղ - avatar