Put your creativity to work with p5.js

If you take a look at my GitHub repo, you will see that I have quite a few projects built using the p5.js library. It was my prelude to JavaScript when it was introduced to me by The Coding Train :train:.

p5.js is a JavaScript library that allows you to easily create visual elements that can be easily made interactable and animated. You start with a canvas that refreshes at a specified frame rate. On the canvas, you can use the library functions to create objects, shapes, texts, images etc. In the draw() function, it acts as an infinite while loop where you can code what you want to happen at each frame. The simple animation and drawing functionality makes it so much easier for anyone to create their own fun and creative projects. You can even integrate other libraries (I recommend Matter.js and TensorFlow.js) to make even more complex things, the possibilities are endless!

It’s a free and open-source library with its own web editor! So if you are like me and find it a hassle to choose between all these different code editors and customization packages, you can use your web browser and get right to coding! Check it out!