Short guide about sending data from iframe embeded p5 sketches to a host webpage

Hey everyone :v:

just wanted to share this short blog post I recently wrote about sending data from p5 sketches embeded via <iframe/> on a host web page. Initially I stumbled upon this, when a student asked me for help while working on some tools for her bachelor thesis about generative design. Learned a lot myself, so I thought Iā€™d be nice to share some learnings:

:point_right: communication with p5 iframes

Just realised, this could probably also be used to communicate between a bunch of different <iframe/> sketches on one page, too (share the color palette or random seeds e.g.) :thinking: