Add p5 sketches to Svelte projects


p5-svelte offers a simple way of getting the creative coding library p5 up and running in your Svelte projects. The API is super simple – you get a P5 component that accepts a sketch prop. You can make use of Svelte's reactivity system to bind props or params within your p5 sketch just as you would with regular Svelte. You can even have multiple p5 components per page without any scoping issues!
Visit Site
Related Projects