How to use p5.js on Sololearn? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

How to use p5.js on Sololearn?

I would like to use the p5.js libraries on Sololearn, how can I do?

21st Oct 2018, 2:08 PM
Angelo
Angelo - avatar
1 Réponse
+ 8
Add this inside the <head> tag of your HTML - <!--p5.js--> <script src = "https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.min.js"></script> <!--p5.js DOM--> <script src = "https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/addons/p5.dom.min.js"></script>
21st Oct 2018, 2:17 PM
Nikhil
Nikhil - avatar