How to write a p5js script
p5js is an open-source Javascript library derived from the Processing language. The Processing language, promoted by the Processing Foundation, is designed to enable learning to code in a creative way, by making visual and electronic art. While Processing is powered by Java, P5js is its equivalent in Javascript. To be noted that p5js also benefits from the support of the Processing Foundation. To learn more about this language don't hesitate to go to the P5js official website.
This art, like a painting, can be made by displaying drawings, animations or text in a frame, called the Canvas. The Canvas can be static but with the help of some additional code can also be animated. It's possible to apply mouvement or tranformations to the objects drawn on the Canvas.


