Color Options for Generative Art in p5.js

Subscribers:
6,370
Published on ● Video Link: https://www.youtube.com/watch?v=HDS0FLYwoG4



Duration: 17:49
2,002 views
47


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







Tags:
p5js
coding in p5js
daniel shiffman
the coding train
learn to code
pattern maker
art maker
art generator
computer art
digital art
generative art
algorithm art
dynamic painting
creative coding
processing art
mandala maker
mandala art
coding challenge
p5js color
p5js lerpcolor
p5js convert rgb to hsb
p5js color picker
p5js color palettem
p5js color palette
p5js color table
p5js random color
p5js programming
p5js save table
p5js save array