p5 js functions

JavaScript
p5js.org
Source

Also in JavaScript: