Skip to content

Squishy Notions

Arts, Crafts, & Computation

  • Sidebars Test

Category: computational art

Radial Shape Wrapper Function for P5.js

September 30, 2017September 30, 2017computational art, P5.js, programmingLeave a Comment on Radial Shape Wrapper Function for P5.js

The radial wrapper function helps you make a radial version of any shape drawn in P5.js.

 

Scaling shapes in P5.js Without Shifting (Wrapper Function)

September 30, 2017computational art, P5.js, programmingLeave a Comment on 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.

Categories

  • bookbinding
  • computational art
  • craft cutter
  • P5.js
  • programming
  • Tutorials
  • Uncategorized
Proudly powered by WordPress | Theme: Doo by ThemeVS.