noc-book-2
noc-book-2 copied to clipboard
Nature of Code with p5.js and Notion workflow / build system.
Noting that in my examples I just use a multiplier to tie radius to mass. ```javascript this.radius = mass * 8; ``` Another, perhaps more accurate, way to approach this...
See: https://github.com/nature-of-code/noc-book-2/pull/79#discussion_r309427933 * Note: we kept in some of those closing remarks in chapter 10, but wanted a reminder to move them to chapter 11 when the time is right.
Almost all of the objects in the book are drawn with `ellipse()`. As I am going through I am removing the 4th argument since p5 supports 3 arguments `(x, y,...
I sometimes say "p5" and sometimes "p5.js" when referring to the aforementioned library. I should probably be consistent. I lean towards using "p5.js" everywhere?
Add paragraph with additional info about Perlin noise (fractal vs. value vs. gradient vs. simplex), improved perlin noise, simplex noise, and OpenSimplexNoise. (explanation: https://youtu.be/Lv9gyZZJPE0)
Note to self to add additional example and explanation after I.5 with a "pool selection" algorithm (https://youtu.be/816ayuhDo0E). I will also swap in this algorithm in the Genetic Algorithm chapter 9...
This will certainly need to become multiple, smaller issues, but filing one now just to remember the following: * Follow WCAG guidelines for website (book and homepage/download PDF system). *...
In revising for p5.js, I have the option of using `var`, `let`, or `const`. `var` is out as I'd like the book to use ES6+, however, the question remains as...
The random walker example is biased towards the top left (or at least the original Processing example was.) This gets asked a lot so I should check the new p5...
Just filing an issue to track implementing an index which I believe is the only remaining item for the PDF build?