+ 24

What is the use of this link? https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.8.0/p5.min.js

I started learning Java script... and I really need help. I saw other posts with js and most of them has this link. I don't understand as how did they got this and what is the importance of this... help!

25th Jul 2019, 5:31 AM
MCGAmedCoder gamerArtist
MCGAmedCoder gamerArtist - avatar
6 odpowiedzi
+ 14
Virgie Rose Putian p5.Js is an library and to include all version and use them we add the link mentioned in the thread so that we can use all the version of p5.js All versions of p5.js are stored in a CDN (Content Delivery Network) which link is used for accessing features. ink to: <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.js"></script> bootstrap, jquery and all other framework are include in same ways with the CDN link or local path in the PC where the files of bootstrap, jquery are exist p5.js is written in JavaScript but originally it is Processing (https://processing.org/). Processing is a visual coding tool for visual arts. The interesting is that processing is not only for developers but also artists, designers, researchers and those who want to enjoy making arts. p5.js is used in JavaScript so we can use it with DOM. The following is the p5.js official site. https://p5js.org/ you can follow this link for more information https://www.freecodecamp.org/news/an-introduction-
25th Jul 2019, 5:44 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 7
that is a library (the p5.js min library) librarys give alot of predefined functions/classes/... which make it easier to write code, because you can use a library without knowing how it really was implemented (/works)
25th Jul 2019, 5:44 AM
Anton Böhler
Anton Böhler - avatar
+ 4
p5.js is a javascript library that you can use in your website. When you put the script tag in your website, the web browser will download the script everytime the user visits your website. Since cloudflare is a globally distributed CDN it will probably be downloaded very fast. There are some advantages when using a CDN: You always have the latest version and loading always takes the same amount of time no matter where the server is located. But from a security standpoint it is a very stupid thing to do. If you care about security, download the JS-File and host it yourself.
25th Jul 2019, 3:56 PM
N00B
+ 2
This is nothing but link to the file p5.min.js which is a j query file that you can use it on your project
26th Aug 2019, 6:07 AM
Liton Barman
Liton Barman - avatar