News
‘Higher-order functions’ is a fancy term for functions that take other functions as arguments or that return functions. Very powerful!
This detailed tutorial shows how to implement pure functions in JavaScript that are deterministic and referentially transparent, and create no side effects.
IDG For starters, let’s create a function that draws a watercolor spot with a given position, radius, and hue. P5.js gives us a function to draw an ellipse that we already used last week.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results