Rectangle Packing in a Perlin Flow Field - Part 1 of 2 - p5.js generative art

Subscribers:
7,360
Published on ● Video Link: https://www.youtube.com/watch?v=oKwi8h_yTsY



Duration: 18:25
4,254 views
166


In this video, I go over the p5.js code for rectangle packing in a Perlin noise field. Includes how to do rectangle packing, rotating the pixels of a rectangle, and using Perlin noise to control the rotation. This is part 1 of 2. In part 2, I'll go over creating a center of rotation on the canvas, and also go more in depth on how I did the color.

The Code:
https://editor.p5js.org/StevesMakerspace/sketches/AWvuvS1VG

Video part two:
https://youtu.be/EMMRHmHt69Y

Rotate rectangle example code:
https://editor.p5js.org/StevesMakerspace/sketches/afXkFZtfR

Matthew Hughes on Twitter:
https://twitter.com/tasty_plots

Join my Discord: https://discord.gg/FSW6zzU

Follow me on Twitter: https://twitter.com/SteveMakerspace

Music:
Funk Down (Sting) by MK2 (theme)







Tags:
p5js
coding in p5js
learn to code
art generator
computer art
digital art
generative art
algorithm art
dynamic painting
creative coding
p5.js programming
digital painting
new media art
p5.js art maker
generative art process
creative coding process
perlin noise
perlin noise art
p5js perlin noise
p5js generative art
p5js creative coding
rectangle packing
p5js rectangle packing
rectangle packing flow field
noise flow field