P5.js with Divi in wordpress?

Hi guys,

I am looking for a way to use p5.js inside the Divi builder in wordpress. does anyone have an idea if this would be possible and how to go about it?

1 Like

Haven’t used Divi, but you can embed a p5.js sketch from the Web Editor pretty easily using WordPress’ built-in Custom HTML blocks. You may want to adjust the style of the embed to make full use of the block.

<iframe src="https://editor.p5js.org/username/embed/abcd1234" style="width: 100%; height: 100%; text-align: center;"></iframe>
1 Like