5_BEGINNER Designing Generative Systems w/ P5.js

  Рет қаралды 9,127

matthew epler

matthew epler

Күн бұрын

Пікірлер: 6
@jieyukong2016
@jieyukong2016 6 жыл бұрын
Awesome, i alway want to combine tech with art, this is a cool way, thank you so much
@julsh_
@julsh_ 3 жыл бұрын
why did u use return in the getRandomFromPalette? i don't understand this
@derink8523
@derink8523 3 жыл бұрын
Hello @Julianna Lemos, this is so that the function outputs ("returns") a random color wherever it is used. So on line 26 where they call getRandomFromPalette(), the computer calls the getRandomFromPalette function, which then returns a random color from the PALETTE constant that prints out where it is used. sidenote: constants are declared in ALLCAPS by convention, you could use normal case, they are like a variable, you just use them when you don't expect them to change throughout your program. None of this is mandatory in javascript, it's just good practice as it makes code clearer to read.
@conilobos8298
@conilobos8298 5 жыл бұрын
muchas gracias
6_BEGINNER Designing Generative Systems w/ P5.js
9:13
matthew epler
Рет қаралды 8 М.
10_INTERMEDIATE Designing Generative Systems w/ P5.js
14:30
matthew epler
Рет қаралды 5 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Processing or p5.js? My opinions
11:04
tim rodenbröker creative coding
Рет қаралды 50 М.
Tim Holman - Generative Art Speedrun
21:34
CSSConf Australia
Рет қаралды 110 М.
Designing Billions of Circuits with Code
12:11
Asianometry
Рет қаралды 613 М.
How To Draw With Code | Casey Reas
6:08
Creators
Рет қаралды 299 М.
"A Box of Chaos: The Generative Artist's Toolkit" by Benjamin Kovach
39:57
Strange Loop Conference
Рет қаралды 39 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 576 М.
Exploring Wave-Figures in Processing
21:54
tim rodenbröker creative coding
Рет қаралды 12 М.
2_BEGINNER Designing Generative Systems w/ P5.js
14:22
matthew epler
Рет қаралды 32 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН