P5.js template for code sandbox

I created a template for CodeSandbox which is a powerful IDE I enjoy using for other frameworks in JavaScript and found there was no template for p5.js so I went ahead and created one.


but it does not work too well from here:

can you please link to one of your working projects?


example/template works

Here’s a link to a flappy bird project I did a while back, I just put it into my template

There are a few issues I haven’t figure out how to fix yet such as code sandbox freaking out saying there’s errors in the console, whilst there are no errors, but for the most part you should be able to write functional code.

1 Like