emailconfirmed
1,824
edits
(→Art) |
(Add Examples from Nature of Code) |
||
Line 123: | Line 123: | ||
* Learn about random distributions | * Learn about random distributions | ||
* Learn about noise functions | * Learn about noise functions | ||
=== Code === | |||
* From our Class | |||
* Nature of Code : [http://natureofcode.com/book/introduction/ Introduction] to Randomness by Daniel Shiffman | |||
** Random Walk Tutorial — [https://htmlpreview.github.io/?https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_01_RandomWalkTraditional/index.html Preview] + [https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_01_RandomWalkTraditional/sketch.js Code] | |||
** Random Distribution — [https://htmlpreview.github.io/?https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_02_RandomDistribution/index.html Preview] + [https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_02_RandomDistribution/sketch.js Code] | |||
** Random Walk tends to the right — [https://htmlpreview.github.io/?https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_03_RandomWalkTendsToRight/index.html Preview] + [https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_03_RandomWalkTendsToRight/sketch.js Code] | |||
** Gaussian Distribution — [https://htmlpreview.github.io/?https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_04_Gaussian/index.html Preview] + [https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_04_Gaussian/sketch.js Code] | |||
** Noise Walk — [https://htmlpreview.github.io/?https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/NOC_I_05_NoiseWalk/index.html Preview] + [https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/tree/master/introduction/NOC_I_05_NoiseWalk/sketch.js Code] | |||
** 1 dimensional noise — [https://htmlpreview.github.io/?https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/Noise1D/index.html Preview] + [https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/blob/master/introduction/Noise1D/sketch.js Code] | |||
=== Links === | === Links === |