Color Options for Generative Art in p5.js
Color options for generative art / creative coding in p5.js. RGB vs HSB, randomizing options, using color palettes, tables, arrays, color picker, saving selections, csv files, json files, lerpColor, converting RGB to HSB, and pixel array. Also showing off my watercolor self-painter, spirograph maker, and mandala maker. "Color table load and draw" code includes a large color palette table.
Playlist of my p5.js project videos:
https://youtube.com/playlist?list=PLnJOmsprq3bErSNvxK0OV-Adh1uxRhVdo
Watercolor Self-Painting:
https://editor.p5js.org/StevesMakerspace/sketches/d0lPUJt8T
Spirograph Maker:
https://editor.p5js.org/StevesMakerspace/sketches/dqCrfr642
Mandala Maker:
https://editor.p5js.org/StevesMakerspace/sketches/HpMGIVpMX
Random Color Options and Simple Color Arrays:
https://editor.p5js.org/StevesMakerspace/sketches/K_ZgLZWa6
Color table load and draw (with big palette table):
https://editor.p5js.org/StevesMakerspace/sketches/6mOzTXAi8
Color picking and save as csv table:
https://editor.p5js.org/StevesMakerspace/sketches/Zhn5j0a8A
Lerp example:
https://editor.p5js.org/StevesMakerspace/sketches/u1rD5E4i1
Convert RGB to HSB:
https://editor.p5js.org/StevesMakerspace/sketches/0CKhoZG5T
Join my Discord: https://discord.gg/FSW6zzU
Follow me on Twitter: https://twitter.com/SteveMakerspace
Pixel Array video on The Coding Train:
https://www.youtube.com/watch?v=nMUMZ5YRxHI
Coolers, a Color Palette Site:
https://coolors.co/palettes/trending
Reference page for p5.js:
https://p5js.org/reference/
0:00 Intro
0:42 Basic color options
1:34 Random colors + simple arrays
7:47 Color palettes from a table
9:34 Color picker
10:38 Saving colors to a csv table
12:31 Saving colors to a json file
13:05 Converting RGB to HSB
15:02 Lerp to mix colors
15:52 Pixel arrays
Music:
Funk Down (Sting) by MK2 (theme)
Blues Infusion by Quincas Moreira
Busy City by TrackTribe
Rhythm Changes by John Deley and the 41 Players
Smokey's Lounge by TrackTribe
Hold on a Second by John Deley and the 41 Players
Dewey, Cheedham, and Howe by John Deley and the 41 Players