News

IDG For starters, let’s create a function that draws a watercolor spot with a given position, radius, and hue. P5.js gives us a function to draw an ellipse that we already used last week. By ...
Create a color background in P5.js Our scaffolding already has a bit of P5 code in it, so we can use the existing setup function to get started.
There’s a lot you can do with JavaScript: Images can swap when you move a mouse over them, form elements can influence each other on the fly, and calculations can be made without having to ...