I played around with feeding ChatGPT p5js sketches, but didnt spend too much time on it. For prototyping it might be a first step. You can enter create a p5 sketch showing xyz and copy paste it in the web editor.