-
Radial Shape Wrapper Function for P5.js
The radial wrapper function helps you make a radial version of any shape drawn in P5.js. View the code on Gist.
-
Scaling shapes in P5.js Without Shifting (Wrapper Function)
Using the scale() function in Processing and P5.js can be tricky because it scales the canvas itself, causing your shapes to move rather than scale from a fixed point. Here’s a wrapper function for P5.js that helps you scale shapes without all that shifting around. View the code on Gist.