Right now it's very simple playground created for teaching programming. As first intro to programming use plotting functions.
You can introduce mathematical functions:
and show how it's created in JavaScript by using this URL that will create new Sketch:
https://p5.javascript.org.pl/?include=coord.js&main=plot.js&base=fn.js
it will load this JavaScript code:
function f(x) {
return 2 * x + 1;
}
And plot.js script that is hidden with help of coord.js will plot that function. After the person get familiar with functions, JavaScript keywords and expression (connected to her/his knowledge about functions in math) he can learn more about JavaScript and P5.js.
Released under GNU GPLv3 or later
Copyright (C) 2022 Jakub T. Jankiewicz