I want a google spread sheets using p5!

The “easiest” way is embed p5 in Apps Script like this…

…and make calls to your backend spreadsheet with google.script.run like this…
https://developers.google.com/apps-script/guides/html/reference/run